//-----------------------------------------------------------------------------
static void
-gtk_frame_map_callback( GtkWidget * WXUNUSED(widget), wxFrame *win )
+gtk_frame_map_callback( GtkWidget * WXUNUSED(widget),
+ GdkEvent * WXUNUSED(event),
+ wxFrame *win )
{
win->m_isIconized = FALSE;
}
//-----------------------------------------------------------------------------
static void
-gtk_frame_unmap_callback( GtkWidget * WXUNUSED(widget), wxFrame *win )
+gtk_frame_unmap_callback( GtkWidget * WXUNUSED(widget),
+ GdkEvent * WXUNUSED(event),
+ wxFrame *win )
{
win->m_isIconized = TRUE;
}
}
// ----------------------------------------------------------------------------
-// frame state: maximized/iconized/normal (TODO)
+// frame state: maximized/iconized/normal
// ----------------------------------------------------------------------------
void wxFrame::Maximize(bool WXUNUSED(maximize))
{
+ wxFAIL_MSG( _T("not implemented") );
}
bool wxFrame::IsMaximized() const
{
+ wxFAIL_MSG( _T("not implemented") );
+
return FALSE;
}
void wxFrame::Restore()
{
+ wxFAIL_MSG( _T("not implemented") );
}
void wxFrame::Iconize( bool iconize )