X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2478fde622a16d25c66690af353dfdc37e7b582..0c02f0701e960de4a1f60bc821c19c03b8fc88c3:/include/wx/msw/apptbase.h?ds=sidebyside diff --git a/include/wx/msw/apptbase.h b/include/wx/msw/apptbase.h index a080eea7b7..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 @@ -40,6 +40,14 @@ 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 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_