diff --git a/include/wx/msw/bitmap.h b/include/wx/msw/bitmap.h index e6b7688b05..94072ac75e 100644 --- a/include/wx/msw/bitmap.h +++ b/include/wx/msw/bitmap.h @@ -110,7 +110,7 @@ public: return *this; } -#ifdef WXWIN_COMPATIBILITY_3_0 +#if WXWIN_COMPATIBILITY_3_0 // This assignment operator is not portable as it is not implemented in any // other ports. wxDEPRECATED_MSG("Don't assign wxCursor to an existing wxBitmap, create a new wxBitmap from wxCursor instead.") diff --git a/include/wx/tipdlg.h b/include/wx/tipdlg.h index bfccc71fbc..173bbf41cd 100644 --- a/include/wx/tipdlg.h +++ b/include/wx/tipdlg.h @@ -48,7 +48,7 @@ public: virtual ~wxTipProvider() { } -#ifdef WXWIN_COMPATIBILITY_3_0 +#if WXWIN_COMPATIBILITY_3_0 wxDEPRECATED_MSG("this method does nothing, simply don't call it") wxString PreprocessTip(const wxString& tip) { return tip; } #endif