Improve wxGridCellNumberEditor placement in the grid
Use the best height and don't let the editor be smaller then min size. Also align center vertically.
This commit is contained in:
committed by
Vadim Zeitlin
parent
1be43ed67b
commit
8dadc2e68c
@@ -116,6 +116,8 @@ public:
|
||||
wxWindowID id,
|
||||
wxEvtHandler* evtHandler) wxOVERRIDE;
|
||||
|
||||
virtual void SetSize(const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual bool IsAcceptedKey(wxKeyEvent& event) wxOVERRIDE;
|
||||
virtual void BeginEdit(int row, int col, wxGrid* grid) wxOVERRIDE;
|
||||
virtual bool EndEdit(int row, int col, const wxGrid* grid,
|
||||
|
Reference in New Issue
Block a user