class WXDLLEXPORT wxKeyEvent;
class WXDLLEXPORT wxLog;
+#if USE_WXCONFIG
+ class WXDLLEXPORT wxConfig;
+#endif //USE_WXCONFIG
+
#define wxPRINT_WINDOWS 1
#define wxPRINT_POSTSCRIPT 2
// Represents the application. Derive OnInit and declare
// a new App object to start application
-class wxConfig;
class WXDLLEXPORT wxApp: public wxEvtHandler
{
DECLARE_DYNAMIC_CLASS(wxApp)
// No specific tasks to do here.
virtual bool OnInitGui(void) { return TRUE; }
- // override this function to create a global wxConfig object of different
- // than default type (right now the default implementation returns NULL)
- virtual wxConfig *CreateConfig(void) { return NULL; }
-
// Called to set off the main loop
virtual int OnRun(void) { return MainLoop(); };
virtual int OnExit(void) { return 0; };
inline bool GetAuto3D(void) const { return m_auto3D; }
// Creates a log object
- virtual wxLog* CreateLogTarget(void);
+ virtual wxLog* CreateLogTarget();
+
+#if USE_WXCONFIG
+ // override this function to create a global wxConfig object of different
+ // than default type (right now the default implementation returns NULL)
+ virtual wxConfig* CreateConfig() { return NULL; }
+#endif //USE_WXCONFIG
public:
// void (*work_proc)(wxApp*app); // work procedure;