From: David Webster Date: Fri, 21 Dec 2001 20:42:20 +0000 (+0000) Subject: Latest updates for compiling. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1908260b428e3892b6a3192cf22ed9154ae0b891 Latest updates for compiling. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index 689c1ab4c9..e0eb8e2836 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -252,9 +252,6 @@ #define wxUSE_SERIAL 1 // Use serialization (requires utils/serialize) -#define wxUSE_DYNLIB_CLASS 1 - // Compile in wxLibrary class for run-time - // DLL loading and function calling #define wxUSE_TOOLTIPS 1 // Define to use wxToolTip class and // wxWindow::SetToolTip() method @@ -379,5 +376,10 @@ #define wxUSE_UNICODE 0 #define wxUSE_UNICODE_MSLU 0 +#define wxUSE_DYNLIB_CLASS 1 + // Compile in wxLibrary class for run-time + // DLL loading and function calling +#define wxUSE_DYNAMIC_LOADER 0 + #endif // _WX_SETUP_H_ diff --git a/include/wx/os2/stattext.h b/include/wx/os2/stattext.h index 66da229103..9840a9090c 100644 --- a/include/wx/os2/stattext.h +++ b/include/wx/os2/stattext.h @@ -20,7 +20,7 @@ WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr; -class WXDLLEXPORT wxStaticText : public wxControl +class WXDLLEXPORT wxStaticText : public wxStaticTextBase { public: inline wxStaticText() { } @@ -48,8 +48,8 @@ public: // // Accessors // - void SetLabel(const wxString&); - bool SetFont(const wxFont &rFont); + virtual void SetLabel(const wxString& rsLabel); + virtual bool SetFont(const wxFont &rFont); // // Overriden base class virtuals @@ -65,6 +65,12 @@ public: ); protected: + virtual void DoSetSize( int nX + ,int nY + ,int nWidth + ,int nHeight + ,int nSizeFlags = wxSIZE_AUTO + ); virtual wxSize DoGetBestSize(void) const; private: