X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ceed261f809dacf8f64c2287c5de9e45d22e5cb..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/propgrid/propgridpagestate.h?ds=sidebyside diff --git a/include/wx/propgrid/propgridpagestate.h b/include/wx/propgrid/propgridpagestate.h index 3f72dc92d4..77f38b2891 100644 --- a/include/wx/propgrid/propgridpagestate.h +++ b/include/wx/propgrid/propgridpagestate.h @@ -4,7 +4,6 @@ // Author: Jaakko Salli // Modified by: // Created: 2008-08-24 -// RCS-ID: $Id$ // Copyright: (c) Jaakko Salli // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,6 +11,8 @@ #ifndef _WX_PROPGRID_PROPGRIDPAGESTATE_H_ #define _WX_PROPGRID_PROPGRIDPAGESTATE_H_ +#include "wx/defs.h" + #if wxUSE_PROPGRID #include "wx/propgrid/property.h" @@ -435,7 +436,7 @@ public: void CheckColumnWidths( int widthChange = 0 ); /** - Override this member function to add custom behavior on property + Override this member function to add custom behaviour on property deletion. */ virtual void DoDelete( wxPGProperty* item, bool doDelete = true ); @@ -445,7 +446,7 @@ public: wxPGProperty* DoGetItemAtY( int y ) const; /** - Override this member function to add custom behavior on property + Override this member function to add custom behaviour on property insertion. */ virtual wxPGProperty* DoInsert( wxPGProperty* parent, @@ -583,12 +584,14 @@ public: unsigned int col, bool subProps) const; + int GetColumnFullWidth(wxClientDC &dc, wxPGProperty *p, unsigned int col); + /** Returns information about arbitrary position in the grid. @param pt Logical coordinates in the virtual grid space. Use - wxScrolledWindow::CalcUnscrolledPosition() if you need to + wxScrolled::CalcUnscrolledPosition() if you need to translate a scrolled position into a logical one. */ wxPropertyGridHitTestResult HitTest( const wxPoint& pt ) const;