X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4040a396cb22fdaa2db0f79bd782218cd814a540..d7c24517cb80580118ebd4ef1deb526be627c29c:/include/wx/proplist.h diff --git a/include/wx/proplist.h b/include/wx/proplist.h index a18213ae87..87a674b2a1 100644 --- a/include/wx/proplist.h +++ b/include/wx/proplist.h @@ -276,7 +276,7 @@ class WXDLLEXPORT wxPropertyListDialog: public wxDialog wxPropertyListDialog(wxPropertyListView *v, wxWindow *parent, const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = "dialogBox"); - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); void OnDefaultAction(wxControl *item); void OnCancel(wxCommandEvent& event); @@ -338,7 +338,7 @@ class WXDLLEXPORT wxPropertyListFrame: public wxFrame m_view = v; m_propertyPanel = NULL; } - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); // Must call this to create panel and associate view virtual bool Initialize(void); @@ -348,6 +348,8 @@ class WXDLLEXPORT wxPropertyListFrame: public wxFrame private: wxPropertyListView* m_view; wxPropertyListPanel* m_propertyPanel; + +DECLARE_EVENT_TABLE() }; /* @@ -549,7 +551,7 @@ class WXDLLEXPORT wxListOfStringsListValidator: public wxPropertyListValidator // Called when the property is double clicked. bool OnDoubleClick(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); - bool EditStringList(wxWindow *parent, wxStringList *stringList, const char *title = "String List Editor"); + bool EditStringList(wxWindow *parent, wxStringList *stringList, const wxChar *title = _T("String List Editor")); // Called when the edit (...) button is pressed. void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow);