#include "wx/deprecated/prop.h"
#include "wx/panel.h"
-class WXDLLEXPORT wxPropertyFormView;
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormView;
////
//// Property form classes: for using an existing dialog or panel
#define wxID_PROP_UPDATE 3101
// Mediates between a physical panel and the property sheet
-class WXDLLEXPORT wxPropertyFormView: public wxPropertyView
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormView: public wxPropertyView
{
DECLARE_DYNAMIC_CLASS(wxPropertyFormView)
public:
* assocated with a window. It's that kinda thing.
*/
-class WXDLLEXPORT wxPropertyFormValidator: public wxPropertyValidator
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormValidator: public wxPropertyValidator
{
DECLARE_DYNAMIC_CLASS(wxPropertyFormValidator)
protected:
// 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.
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.
* Some default validators
*/
-class WXDLLEXPORT wxRealFormValidator: public wxPropertyFormValidator
+class WXDLLIMPEXP_DEPRECATED wxRealFormValidator: public wxPropertyFormValidator
{
DECLARE_DYNAMIC_CLASS(wxRealFormValidator)
public:
float m_realMax;
};
-class WXDLLEXPORT wxIntegerFormValidator: public wxPropertyFormValidator
+class WXDLLIMPEXP_DEPRECATED wxIntegerFormValidator: public wxPropertyFormValidator
{
DECLARE_DYNAMIC_CLASS(wxIntegerFormValidator)
public:
long m_integerMax;
};
-class WXDLLEXPORT wxBoolFormValidator: public wxPropertyFormValidator
+class WXDLLIMPEXP_DEPRECATED wxBoolFormValidator: public wxPropertyFormValidator
{
DECLARE_DYNAMIC_CLASS(wxBoolFormValidator)
protected:
bool OnDisplayValue(wxProperty *property, wxPropertyFormView *view, wxWindow *parentWindow);
};
-class WXDLLEXPORT wxStringFormValidator: public wxPropertyFormValidator
+class WXDLLIMPEXP_DEPRECATED wxStringFormValidator: public wxPropertyFormValidator
{
DECLARE_DYNAMIC_CLASS(wxStringFormValidator)
public:
* A default dialog box class to use.
*/
-class WXDLLEXPORT wxPropertyFormDialog: public wxDialog
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormDialog: public wxDialog
{
public:
wxPropertyFormDialog(wxPropertyFormView *v = NULL,
* A default panel class to use.
*/
-class WXDLLEXPORT wxPropertyFormPanel: public wxPanel
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormPanel: public wxPanel
{
public:
wxPropertyFormPanel(wxPropertyFormView *v = NULL,
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;
}
* A default frame class to use.
*/
-class WXDLLEXPORT wxPropertyFormFrame: public wxFrame
+class WXDLLIMPEXP_DEPRECATED wxPropertyFormFrame: public wxFrame
{
public:
wxPropertyFormFrame(wxPropertyFormView *v = NULL,
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;