// operation is successful.)
virtual bool SetShape(const wxRegion& WXUNUSED(region)) { return FALSE; }
- // old functions, use the new ones instead!
-#if WXWIN_COMPATIBILITY_2
- bool Iconized() const { return IsIconized(); }
-#endif // WXWIN_COMPATIBILITY_2
-
// implementation only from now on
// -------------------------------
// send the iconize event, return TRUE if processed
bool SendIconizeEvent(bool iconized = TRUE);
+ // Get the default size for the new window if no explicit size given. If
+ // there are better default sizes then these can be changed, just as long
+ // as they are not too small for TLWs.
+ static int WidthDefault(int w) { return w == -1 ? 400 : w; }
+ static int HeightDefault(int h) { return h == -1 ? 250 : h; }
+
// the frame icon
wxIconBundle m_icons;