X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04ee05f92add0ab92ce08ecb827e3be41336aa06..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/cshelp.h?ds=inline diff --git a/include/wx/cshelp.h b/include/wx/cshelp.h index 66fa99a317..a165ab220e 100644 --- a/include/wx/cshelp.h +++ b/include/wx/cshelp.h @@ -36,7 +36,7 @@ * window for the application to display help for. */ -class WXDLLEXPORT wxContextHelp : public wxObject +class WXDLLIMPEXP_CORE wxContextHelp : public wxObject { public: wxContextHelp(wxWindow* win = NULL, bool beginHelp = true); @@ -65,14 +65,14 @@ private: * to put the application into context help mode. */ -class WXDLLEXPORT wxContextHelpButton : public wxBitmapButton +class WXDLLIMPEXP_CORE wxContextHelpButton : public wxBitmapButton { public: wxContextHelpButton(wxWindow* parent, wxWindowID id = wxID_CONTEXT_HELP, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0); + long style = wxBU_AUTODRAW); void OnContextHelp(wxCommandEvent& event); @@ -106,7 +106,7 @@ private: // and overriding ShowHelp() but calling the base class version wouldn't work // any more, which forces us to use a rather ugly hack and pass the extra // parameters of ShowHelpAtPoint() to ShowHelp() via member variables. -class WXDLLEXPORT wxHelpProvider +class WXDLLIMPEXP_CORE wxHelpProvider { public: // get/set the current (application-global) help provider (Set() returns @@ -188,7 +188,7 @@ WX_DECLARE_EXPORTED_HASH_MAP( wxUIntPtr, wxString, wxIntegerHash, // wxSimpleHelpProvider is an implementation of wxHelpProvider which supports // only plain text help strings and shows the string associated with the // control (if any) in a tooltip -class WXDLLEXPORT wxSimpleHelpProvider : public wxHelpProvider +class WXDLLIMPEXP_CORE wxSimpleHelpProvider : public wxHelpProvider { public: // implement wxHelpProvider methods @@ -212,7 +212,7 @@ protected: // both context identifiers and plain text help strings. If the help text is an integer, // it is passed to wxHelpController::DisplayContextPopup. Otherwise, it shows the string // in a tooltip as per wxSimpleHelpProvider. -class WXDLLEXPORT wxHelpControllerHelpProvider : public wxSimpleHelpProvider +class WXDLLIMPEXP_CORE wxHelpControllerHelpProvider : public wxSimpleHelpProvider { public: // Note that it doesn't own the help controller. The help controller @@ -236,7 +236,7 @@ protected: }; // Convenience function for turning context id into wxString -WXDLLEXPORT wxString wxContextId(int id); +WXDLLIMPEXP_CORE wxString wxContextId(int id); #endif // wxUSE_HELP