X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2739d4f0528b324700973169b67750107568bf12..fd928524917cb25b0bf016c6f24dfb85de527a3e:/include/wx/msw/apptbase.h diff --git a/include/wx/msw/apptbase.h b/include/wx/msw/apptbase.h index e7cfa68886..d6843d738d 100644 --- a/include/wx/msw/apptbase.h +++ b/include/wx/msw/apptbase.h @@ -16,7 +16,7 @@ // wxAppTraits: the MSW version adds extra hooks needed by MSW-only code // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxAppTraits : public wxAppTraitsBase +class WXDLLIMPEXP_BASE wxAppTraits : public wxAppTraitsBase { public: // wxExecute() support methods @@ -44,9 +44,10 @@ public: // other miscellaneous helpers // --------------------------- - // under MSW this function does the same thing for console and GUI - // applications so we can implement it directly in the base class - virtual int GetOSVersion(int *verMaj, int *verMin); + // under MSW this function returns same version for both console and GUI + // applications so we can implement it directly in the base class and only + // override it wxGUIAppTraits to fill in toolkit information + virtual wxToolkitInfo& GetToolkitInfo(); }; #endif // _WX_MSW_APPTBASE_H_