]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/propgridpagestate.h
added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly
[wxWidgets.git] / include / wx / propgrid / propgridpagestate.h
index 5ff8ab5f573039d11639ad917c1eb0148abcbd73..95909a3b409e9a8deeed15a36567ac6f4b171407 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Jaakko Salli
 // Modified by:
 // Created:     2008-08-24
-// RCS-ID:      $Id:
+// RCS-ID:      $Id$
 // Copyright:   (c) Jaakko Salli
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
@@ -12,6 +12,8 @@
 #ifndef _WX_PROPGRID_PROPGRIDPAGESTATE_H_
 #define _WX_PROPGRID_PROPGRIDPAGESTATE_H_
 
+#if wxUSE_PROPGRID
+
 #include "wx/propgrid/property.h"
 
 // -----------------------------------------------------------------------
@@ -461,7 +463,7 @@ public:
 
     unsigned int GetColumnCount() const
     {
-        return m_colWidths.size();
+        return (unsigned int) m_colWidths.size();
     }
 
     wxPGProperty* GetSelection() const
@@ -500,6 +502,8 @@ public:
 
     wxPGProperty* DoGetRoot() const { return m_properties; }
 
+    void DoSetPropertyName( wxPGProperty* p, const wxString& newName );
+
     // Returns combined width of margin and all the columns
     int GetVirtualWidth() const
     {
@@ -632,7 +636,7 @@ protected:
     */
     int HitTestH( int x, int* pSplitterHit, int* pSplitterHitOffset ) const;
 
-    int PrepareToAddItem ( wxPGProperty* property,
+    bool PrepareToAddItem( wxPGProperty* property,
                            wxPGProperty* scheduledParent );
 
     /** If visible, then this is pointer to wxPropertyGrid.
@@ -688,5 +692,7 @@ protected:
 
 // -----------------------------------------------------------------------
 
+#endif // wxUSE_PROPGRID
+
 #endif // _WX_PROPGRID_PROPGRIDPAGESTATE_H_