X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15e8daecf594d38a57bc750f58de0ea33b79f4ee..88ef3a57a47f840adea9d38bc11cb30689a0838a:/contrib/include/wx/deprecated/propform.h?ds=sidebyside diff --git a/contrib/include/wx/deprecated/propform.h b/contrib/include/wx/deprecated/propform.h index 0ef8e2ca08..15cb8c2b70 100644 --- a/contrib/include/wx/deprecated/propform.h +++ b/contrib/include/wx/deprecated/propform.h @@ -6,16 +6,12 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_PROPFORM_H_ #define _WX_PROPFORM_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "propform.h" -#endif - #include "wx/deprecated/setup.h" #if wxUSE_PROPSHEET @@ -129,9 +125,9 @@ class WXDLLIMPEXP_DEPRECATED wxPropertyFormValidator: public wxPropertyValidator ~wxPropertyFormValidator(void) {} // Called to check value is OK (e.g. when OK is pressed) - // Return FALSE if value didn't check out; signal to restore old value. + // Return false if value didn't check out; signal to restore old value. virtual bool OnCheckValue( wxProperty *WXUNUSED(property), wxPropertyFormView *WXUNUSED(view), - wxWindow *WXUNUSED(parentWindow) ) { return TRUE; } + wxWindow *WXUNUSED(parentWindow) ) { return true; } // Does the transferance from the property editing area to the property itself. // Called by the view, e.g. when closing the window. @@ -279,7 +275,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = _T("panel")) - : wxPanel(parent, -1, pos, size, style, name) + : wxPanel(parent, wxID_ANY, pos, size, style, name) { m_view = v; } @@ -311,7 +307,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = _T("frame")) - : wxFrame(parent, -1, title, pos, size, style, name) + : wxFrame(parent, wxID_ANY, title, pos, size, style, name) { m_view = v; m_propertyPanel = NULL;