X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..8aadf227345c308adf55a01a03f509f37e6ebf2b:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index 8fe8d12248..239e5888f3 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -25,6 +25,10 @@ class WXDLLEXPORT wxApp ; class WXDLLEXPORT wxKeyEvent; class WXDLLEXPORT wxLog; +#if USE_WXCONFIG + class WXDLLEXPORT wxConfig; +#endif //USE_WXCONFIG + #define wxPRINT_WINDOWS 1 #define wxPRINT_POSTSCRIPT 2 @@ -111,7 +115,13 @@ class WXDLLEXPORT wxApp: public wxEvtHandler 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;