X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edf1dfa16db5bc9df60b30d01ca9892b298be34f..d33704ddf2884c8b1cf1178e3cee6d2e1b4004f0:/include/wx/os2/dialog.h?ds=sidebyside diff --git a/include/wx/os2/dialog.h b/include/wx/os2/dialog.h index 0706163a56..d4ae70e32c 100644 --- a/include/wx/os2/dialog.h +++ b/include/wx/os2/dialog.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: dialog.h +// Name: wx/os2/dialog.h // Purpose: wxDialog class // Author: David Webster // Modified by: @@ -14,7 +14,7 @@ #include "wx/panel.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[]; class WXDLLEXPORT wxDialogModalData; @@ -90,8 +90,7 @@ public: ,WXWPARAM wParam ,WXLPARAM lParam ); - // obsolete methods - // ---------------- +#if WXWIN_COMPATIBILITY_2_6 // Constructor with a modal flag, but no window id - the old convention wxDEPRECATED( wxDialog( wxWindow* pParent @@ -111,6 +110,8 @@ public: // use IsModal() wxDEPRECATED( bool IsModalShowing() const ); +#endif // WXWIN_COMPATIBILITY_2_6 + protected: // // find the window to use as parent for this dialog if none has been @@ -147,4 +148,3 @@ private: }; // end of CLASS wxDialog #endif // _WX_DIALOG_H_ -