don't draw cell highlight over the cell editor (improves wxGCBoolEditor appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -201,6 +201,7 @@ public:
|
||||
virtual void Create(wxWindow* parent,
|
||||
wxWindowID id,
|
||||
wxEvtHandler* evtHandler);
|
||||
virtual void SetSize(const wxRect& rect);
|
||||
|
||||
virtual void PaintBackground(const wxRect& rectCell, wxGridCellAttr *attr);
|
||||
|
||||
@@ -1004,10 +1005,12 @@ public:
|
||||
void RegisterDataType(const wxString& typeName,
|
||||
wxGridCellRenderer* renderer,
|
||||
wxGridCellEditor* editor);
|
||||
wxGridCellEditor* GetDefaultEditorForCell(int row, int col);
|
||||
wxGridCellRenderer* GetDefaultRendererForCell(int row, int col);
|
||||
wxGridCellEditor* GetDefaultEditorForType(const wxString& typeName);
|
||||
wxGridCellRenderer* GetDefaultRendererForType(const wxString& typeName);
|
||||
wxGridCellEditor* GetDefaultEditorForCell(int row, int col) const;
|
||||
wxGridCellEditor* GetDefaultEditorForCell(const wxGridCellCoords& c) const
|
||||
{ return GetDefaultEditorForCell(c.GetRow(), c.GetCol()); }
|
||||
wxGridCellRenderer* GetDefaultRendererForCell(int row, int col) const;
|
||||
wxGridCellEditor* GetDefaultEditorForType(const wxString& typeName) const;
|
||||
wxGridCellRenderer* GetDefaultRendererForType(const wxString& typeName) const;
|
||||
|
||||
|
||||
|
||||
@@ -1171,9 +1174,6 @@ public:
|
||||
wxGRID_CHOICE,
|
||||
wxGRID_COMBOBOX };
|
||||
|
||||
// for wxGridCellBoolEditor
|
||||
wxWindow *GetGridWindow() const;
|
||||
|
||||
protected:
|
||||
bool m_created;
|
||||
bool m_displayed;
|
||||
|
Reference in New Issue
Block a user