wxTopLevelWindowMSW::SetIcons(): non-fatal assert failure

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
tedzini
Knows some wx things
Knows some wx things
Posts: 34
Joined: Tue Apr 20, 2010 2:30 pm

wxTopLevelWindowMSW::SetIcons(): non-fatal assert failure

Post by tedzini » Thu Feb 17, 2011 5:06 pm

greetings,

We developed an app that is used by students in a college class. A student received rather interesting wxWidgets Debug Alert dialog error notice that I have never witnessed before. This was while running the application on a Windows 7 platform:

<snip>
..\..\src\msw\toplevel.cpp(1079): assert "Assert failure" failed in wxTopLevelWindowsMSW::SetIcons(): icon bundle doesn't contain any suitable icon

Call stack:
[00] 01003165
[01] FFEEFFEE

Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.
<snip>

This shows up when starting the program and also on child dialogs. The program is compiled with the standard resource template that utilizes the wxWindows icon used by several demo apps. The app uses wx2.9.1 static built libraries, compiled with VisualStudio 2008.

Would anyone have any insights as to what is wrong, or any solutions to this? Is the app expecting a different run-time library or ??

thanks in advance for any advice or directions,

t

tedzini
Knows some wx things
Knows some wx things
Posts: 34
Joined: Tue Apr 20, 2010 2:30 pm

Post by tedzini » Thu Feb 17, 2011 5:18 pm

Replying to my own thread here, but perhaps the user has a rather unusual display setting??

http://www.bitcoin.org/smf/index.php?topic=391.0

thnx,
t

User avatar
doublemax
Moderator
Moderator
Posts: 14305
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax » Thu Feb 17, 2011 5:31 pm

This assert message was removed 7 months ago, i recommend upgrading the wx version.
http://trac.wxwidgets.org/ticket/11146
http://trac.wxwidgets.org/changeset/65084
Use the source, Luke!

Post Reply