- void SetClientSize(int width, int height) { wxWindow::DoSetClientSize(width, height); };
- void SetClientSize( const wxSize& size ) { wxWindow::DoSetClientSize(size.x, size.y); };
- void SetClientSize(const wxRect& rect) { SetClientSize( rect.width, rect.height ); };
-
- void GetPosition(int *x, int *y) const;
- bool Show(bool show);
- void Iconize(bool iconize);
-
- void Fit();
-
- void SetTitle(const wxString& title);
- wxString GetTitle() const ;
-
- void OnCharHook(wxKeyEvent& event);
- void OnCloseWindow(wxCloseEvent& event);
-
- void SetModal(bool flag);
-
+ //
+ // Returns TRUE if we're in a modal loop
+ //
+ bool IsModalShowing() const;
+
+ //
+ // Implementation only from now on
+ // -------------------------------
+ //
+
+ //
+ // Override some base class virtuals
+ //
+ virtual bool Show(bool bShow);
+
+ //
+ // Event handlers
+ //
+ bool OnClose(void);
+ void OnCharHook(wxKeyEvent& rEvent);
+ void OnCloseWindow(wxCloseEvent& rEvent);
+
+ //