/////////////////////////////////////////////////////////////////////////////
// Name: propeditor.cpp
-// Purpose: Property editor for wxWindows configuration tool
+// Purpose: Property editor for wxWidgets configuration tool
// Author: Julian Smart
// Modified by:
// Created: 2003-06-03
#ifndef _CT_PROPEDITOR_H_
#define _CT_PROPEDITOR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "propeditor.cpp"
#endif
DECLARE_CLASS(ctPropertyEditor)
public:
ctPropertyEditor(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
- ~ctPropertyEditor();
+ ~ctPropertyEditor(){};
// Event handlers
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);
DECLARE_EVENT_TABLE()
protected:
+ // Dialog controls
+ wxButton* m_attributeEditorEditDetails;
ctPropertyEditorGrid* m_attributeEditorGrid;
wxHtmlWindow* m_propertyDescriptionWindow;
wxSplitterWindow* m_splitterWindow;
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; }
* Special-purpose splitter window for changing sash look and
* also saving sash width
*/
-
+
class ctSplitterWindow: public wxSplitterWindow
{
public: