X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2478fde622a16d25c66690af353dfdc37e7b582..4f53523161202c06e848824c2ec2817cb9878180:/include/wx/msw/apptbase.h diff --git a/include/wx/msw/apptbase.h b/include/wx/msw/apptbase.h index a080eea7b7..ce0dc36d10 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 @@ -40,6 +40,13 @@ public: // process a message while waiting for a(nother) thread, should return // false if and only if we have to exit the application virtual bool DoMessageFromThreadWait() = 0; + + // 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); }; #endif // _WX_MSW_APPTBASE_H_