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
This commit is contained in:
		| @@ -33,9 +33,6 @@ public: | |||||||
|     // other miscellaneous helpers |     // 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_ | #endif // _WX_MAC_APPTBASE_H_ | ||||||
|   | |||||||
| @@ -19,6 +19,10 @@ | |||||||
| class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase | class WXDLLEXPORT wxConsoleAppTraits : public wxConsoleAppTraitsBase | ||||||
| { | { | ||||||
| public: | public: | ||||||
|  |     // other miscellaneous helpers | ||||||
|  |     // --------------------------- | ||||||
|  |  | ||||||
|  |     virtual int GetOSVersion(int *verMaj, int *verMin); | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #if wxUSE_GUI | #if wxUSE_GUI | ||||||
| @@ -26,6 +30,10 @@ public: | |||||||
| class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase | class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase | ||||||
| { | { | ||||||
| public: | public: | ||||||
|  |     // other miscellaneous helpers | ||||||
|  |     // --------------------------- | ||||||
|  |  | ||||||
|  |     virtual int GetOSVersion(int *verMaj, int *verMin); | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif // wxUSE_GUI | #endif // wxUSE_GUI | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user