- // called by wxWindow whenever it gets focus
- void SetLastFocus(long focus) { m_lastFocus = focus; }
- long GetLastFocus() const { return m_lastFocus; }
+ // calls layout for layout constraints and sizers
+ void OnSize(wxSizeEvent& event);
+
+ virtual void InitDialog();
+
+#ifdef __WXUNIVERSAL__
+ virtual bool IsCanvasWindow() const { return true; }
+ virtual bool ProvidesBackground() const { return true; }
+#endif
+
+ virtual void ApplyParentThemeBackground(const wxColour& bg)
+ { SetBackgroundColour(bg); }
+
+
+ WX_DECLARE_CONTROL_CONTAINER();