Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxTextCtrl derived from streambuf???

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxTextCtrl derived from streambuf???
#2496
Posted by: 2003-08-21 04:06:51
Using wxWindows 2.4.0 under VC++ 6 it seams that wxTextCrtl is not derived from streambuf. Compiling something like:

wxTextCtrl* ptc = new wxTextCtrl(...);
ostream foo(ptc);

gives the compiling error that ptc cannot be converted to basic_streambuf.

I have compile wxWindows with the standard settings and see (with my limited knowledge) no reason for wxTextCtrl NOT to be derived from streambuf.

What am I missing? Anyone?
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-12-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0