diff --git a/include/wx/gdiobj.h b/include/wx/gdiobj.h index 5c9747694a..05e5a61777 100644 --- a/include/wx/gdiobj.h +++ b/include/wx/gdiobj.h @@ -31,7 +31,7 @@ class WXDLLIMPEXP_CORE wxGDIObject: public wxObject public: bool IsNull() const { return m_refData == NULL; } -#if defined(__WXMSW__) || defined(__WXOS2__) || defined(__WXPALMOS__) +#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXPALMOS__) // Creates the resource virtual bool RealizeResource() { return false; } @@ -42,7 +42,7 @@ public: // Returns handle. virtual WXHANDLE GetResourceHandle() const { return 0; } -#endif // defined(__WXMSW__) || defined(__WXOS2__) +#endif // defined(__WXMSW__) || defined(__WXPM__) DECLARE_DYNAMIC_CLASS(wxGDIObject) }; diff --git a/include/wx/richtext/richtextsymboldlg.h b/include/wx/richtext/richtextsymboldlg.h index 38ea1278f1..7db2f61021 100644 --- a/include/wx/richtext/richtextsymboldlg.h +++ b/include/wx/richtext/richtextsymboldlg.h @@ -116,7 +116,7 @@ public: void OnFromUnicodeSelected( wxCommandEvent& event ); #endif -#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXOS2__) || defined(__WXMGL__) || defined(__WXMOTIF__) || defined(__WXCOCOA__) || defined(__WXX11__) || defined(__WXPALMOS__) +#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMGL__) || defined(__WXMOTIF__) || defined(__WXCOCOA__) || defined(__WXX11__) || defined(__WXPALMOS__) /// wxEVT_UPDATE_UI event handler for wxID_OK void OnOkUpdate( wxUpdateUIEvent& event );