X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..b271d60d6a009930d80092a8cb534a5df19fc99b:/utils/configtool/src/propeditor.h diff --git a/utils/configtool/src/propeditor.h b/utils/configtool/src/propeditor.h index 6fa790c41b..5641b4efb7 100644 --- a/utils/configtool/src/propeditor.h +++ b/utils/configtool/src/propeditor.h @@ -12,10 +12,6 @@ #ifndef _CT_PROPEDITOR_H_ #define _CT_PROPEDITOR_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "propeditor.cpp" -#endif - #include "wx/splitter.h" #include "wx/grid.h" @@ -35,7 +31,7 @@ class ctPropertyEditor: public wxPanel DECLARE_CLASS(ctPropertyEditor) public: ctPropertyEditor(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style); - ~ctPropertyEditor(); + ~ctPropertyEditor(){}; // Event handlers @@ -75,7 +71,7 @@ class ctPropertyEditor: public wxPanel void UpdateItem(); /// Display attribute at given row - bool DisplayProperty(int row, ctProperty* prop, bool valueOnly = FALSE); + bool DisplayProperty(int row, ctProperty* prop, bool valueOnly = false); /// Display attribute value bool DisplayProperty(ctProperty* prop); @@ -139,6 +135,8 @@ class ctPropertyEditor: public wxPanel DECLARE_EVENT_TABLE() protected: + // Dialog controls + wxButton* m_attributeEditorEditDetails; ctPropertyEditorGrid* m_attributeEditorGrid; wxHtmlWindow* m_propertyDescriptionWindow; wxSplitterWindow* m_splitterWindow; @@ -214,7 +212,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); - + bool AddControls(wxWindow* parent, const wxString& msg); wxString GetText() const { return m_text; } @@ -229,7 +227,7 @@ private: * Special-purpose splitter window for changing sash look and * also saving sash width */ - + class ctSplitterWindow: public wxSplitterWindow { public: