X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f63e3ebbe3272b9690aa2530e0c3048d3f37c7c7..401e3b6e5f50f15571b86297b5d1e3f55c473f6f:/include/wx/msw/colordlg.h diff --git a/include/wx/msw/colordlg.h b/include/wx/msw/colordlg.h index b56207bf7c..1f6679b8b9 100644 --- a/include/wx/msw/colordlg.h +++ b/include/wx/msw/colordlg.h @@ -12,7 +12,7 @@ #ifndef _WX_COLORDLG_H_ #define _WX_COLORDLG_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "colordlg.h" #endif @@ -36,7 +36,7 @@ public: // override some base class virtuals virtual void SetTitle(const wxString& title); - virtual wxString GetTitle(); + virtual wxString GetTitle() const; virtual int ShowModal(); @@ -54,7 +54,7 @@ protected: wxPoint m_pos; - DECLARE_DYNAMIC_CLASS(wxColourDialog) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog) }; #endif