Included required wx/image.h and added wxUSE_IMAGE guard.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2004-02-16 21:35:54 +00:00
parent b126fe3ae2
commit f517634c46

View File

@@ -38,6 +38,7 @@
#include "wx/progdlg.h"
#include "wx/fdrepdlg.h"
#include "wx/busyinfo.h"
#include "wx/image.h"
#define wxTEST_GENERIC_DIALOGS_IN_MSW 0
@@ -123,7 +124,9 @@ MyCanvas *myCanvas = (MyCanvas *) NULL;
// `Main program' equivalent, creating windows and returning main app frame
bool MyApp::OnInit()
{
#if wxUSE_IMAGE
wxInitAllImageHandlers();
#endif
#if defined(__WXGTK__) && defined(wxUSE_UNICODE)
wxConvCurrent = &wxConvLibc;