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