void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
+ bool DoEraseBackground(wxDC* dc) {
+#ifdef __WXMSW__
+ return wxWindow::DoEraseBackground(dc->GetHDC());
+#else
+ dc->SetBackground(wxBrush(GetBackgroundColour()));
+ dc->Clear();
+ return true;
+#endif
+ }
+
DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
DEC_PYCALLBACK_VOID_INT5(DoSetSize);
DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
void _setCallbackInfo(PyObject* self, PyObject* _class);
void SetBestSize(const wxSize& size);
-
+ bool DoEraseBackground(wxDC* dc);
+
void base_DoMoveWindow(int x, int y, int width, int height);
void base_DoSetSize(int x, int y, int width, int height,
int sizeFlags = wxSIZE_AUTO);