The file dialog needs to be able to read images (mostly PNG).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
38106243a0
commit
013e1feecd
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ MyCanvas *myCanvas = (MyCanvas *) NULL;
|
|||
// `Main program' equivalent, creating windows and returning main app frame
|
||||
bool MyApp::OnInit()
|
||||
{
|
||||
wxInitAllImageHandlers();
|
||||
|
||||
#if defined(__WXGTK__) && defined(wxUSE_UNICODE)
|
||||
wxConvCurrent = &wxConvLibc;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue