Remove unnecessary wxSearchCtrl::DoMoveWindow() override
There is no need to override this virtual function, if the control size changes, a wxEVT_SIZE event is generated in any case, resulting in a call to LayoutControls() without explicitly calling it from here.
This commit is contained in:
@@ -194,7 +194,6 @@ protected:
|
||||
|
||||
// override the base class virtuals involved into geometry calculations
|
||||
virtual wxSize DoGetBestClientSize() const wxOVERRIDE;
|
||||
virtual void DoMoveWindow(int x, int y, int width, int height) wxOVERRIDE;
|
||||
|
||||
virtual void RecalcBitmaps();
|
||||
|
||||
|
Reference in New Issue
Block a user