Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxNotebook Blues

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

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxNotebook Blues
#3943
Posted by: 2004-04-29 02:11:26
No compile-time errors.

I get sevaral 'error' boxes when I run the executable:
"wxAssertFailure" failed: can't set focus to invalid window.

(Courtesy __WXDEBUG__)

The error messages do not appear if I do not create a new wxNotebook(). Any idea why this could be happening?

Seem to be no problems with output so far, but I'd rather not be sitting on the wrong side of the branch while I saw it off. Please help.

Config:
DevCpp 4.9.8.0
Windows Xp
wxWindows-2.4.2
Message2. Re: wxNotebook Blues
#3968
Posted by: upCASE 2004-04-30 15:21:59
Just a guess: Have you checked if all notebook pages where created correctly?
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: wxNotebook Blues
#3974
Posted by: 2004-04-30 19:10:19
> Have you checked if all notebook pages

Checked by putting a MessageBox() in the constructor. Yes, they're being created.

Still stuck :(.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-3-28  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0