diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 96d05b980d..1a6f39515a 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -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