From: Stefan Csomor Date: Fri, 11 Jul 2003 20:17:15 +0000 (+0000) Subject: apptraits in line for carbon and mach-o X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2cf38c97836a8269a47847b73afcda347f863e04 apptraits in line for carbon and mach-o git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/apptbase.h b/include/wx/mac/apptbase.h index 8c411d0f1e..84c68cd0ee 100644 --- a/include/wx/mac/apptbase.h +++ b/include/wx/mac/apptbase.h @@ -33,9 +33,6 @@ public: // other miscellaneous helpers // --------------------------- - // under Mac 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); }; #endif // _WX_MAC_APPTBASE_H_ diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h index bb133cca3a..e6d6bdfed9 100644 --- a/include/wx/mac/apptrait.h +++ b/include/wx/mac/apptrait.h @@ -19,6 +19,10 @@ class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase { public: + // other miscellaneous helpers + // --------------------------- + + virtual int GetOSVersion(int *verMaj, int *verMin); }; #if wxUSE_GUI @@ -26,6 +30,10 @@ public: class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase { public: + // other miscellaneous helpers + // --------------------------- + + virtual int GetOSVersion(int *verMaj, int *verMin); }; #endif // wxUSE_GUI