2. a couple of unused vars removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8351
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool m_toolBarDetached;
bool m_insertInClientArea; /* not from within OnCreateXXX */
bool m_toolBarDetached;
bool m_insertInClientArea; /* not from within OnCreateXXX */
bool m_fsIsShowing; /* full screen */
long m_fsSaveStyle;
long m_fsSaveFlag;
bool m_fsIsShowing; /* full screen */
long m_fsSaveStyle;
long m_fsSaveFlag;
bool m_toolBarDetached;
bool m_insertInClientArea; /* not from within OnCreateXXX */
bool m_toolBarDetached;
bool m_insertInClientArea; /* not from within OnCreateXXX */
bool m_fsIsShowing; /* full screen */
long m_fsSaveStyle;
long m_fsSaveFlag;
bool m_fsIsShowing; /* full screen */
long m_fsSaveStyle;
long m_fsSaveFlag;
dc.SetBrush(* wxTRANSPARENT_BRUSH);
wxSize clientSize = GetClientSize();
dc.SetBrush(* wxTRANSPARENT_BRUSH);
wxSize clientSize = GetClientSize();
int lineSpacing = 0;
wxListLineData *line = &m_lines[0];
int lineSpacing = 0;
wxListLineData *line = &m_lines[0];
bool hiColour = (wxDisplayDepth() >= 16) ;
bool hiColour = (wxDisplayDepth() >= 16) ;
if (bitmap.GetPalette() && !hiColour)
{
dc.SetPalette(* bitmap.GetPalette());
if (bitmap.GetPalette() && !hiColour)
{
dc.SetPalette(* bitmap.GetPalette());
//-----------------------------------------------------------------------------
static void
//-----------------------------------------------------------------------------
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;
}
{
win->m_isIconized = FALSE;
}
//-----------------------------------------------------------------------------
static void
//-----------------------------------------------------------------------------
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;
}
{
win->m_isIconized = TRUE;
}
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
-// frame state: maximized/iconized/normal (TODO)
+// frame state: maximized/iconized/normal
// ----------------------------------------------------------------------------
void wxFrame::Maximize(bool WXUNUSED(maximize))
{
// ----------------------------------------------------------------------------
void wxFrame::Maximize(bool WXUNUSED(maximize))
{
+ wxFAIL_MSG( _T("not implemented") );
}
bool wxFrame::IsMaximized() const
{
}
bool wxFrame::IsMaximized() const
{
+ wxFAIL_MSG( _T("not implemented") );
+
return FALSE;
}
void wxFrame::Restore()
{
return FALSE;
}
void wxFrame::Restore()
{
+ wxFAIL_MSG( _T("not implemented") );
}
void wxFrame::Iconize( bool iconize )
}
void wxFrame::Iconize( bool iconize )
//-----------------------------------------------------------------------------
static void
//-----------------------------------------------------------------------------
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;
}
{
win->m_isIconized = FALSE;
}
//-----------------------------------------------------------------------------
static void
//-----------------------------------------------------------------------------
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;
}
{
win->m_isIconized = TRUE;
}
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------
-// frame state: maximized/iconized/normal (TODO)
+// frame state: maximized/iconized/normal
// ----------------------------------------------------------------------------
void wxFrame::Maximize(bool WXUNUSED(maximize))
{
// ----------------------------------------------------------------------------
void wxFrame::Maximize(bool WXUNUSED(maximize))
{
+ wxFAIL_MSG( _T("not implemented") );
}
bool wxFrame::IsMaximized() const
{
}
bool wxFrame::IsMaximized() const
{
+ wxFAIL_MSG( _T("not implemented") );
+
return FALSE;
}
void wxFrame::Restore()
{
return FALSE;
}
void wxFrame::Restore()
{
+ wxFAIL_MSG( _T("not implemented") );
}
void wxFrame::Iconize( bool iconize )
}
void wxFrame::Iconize( bool iconize )