git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32934
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int WXUNUSED(incH) = -1) {}
#if wxUSE_TOOLBAR
int WXUNUSED(incH) = -1) {}
#if wxUSE_TOOLBAR
virtual wxToolBar* CreateToolBar( long WXUNUSED(style),
wxWindowID WXUNUSED(id),
const wxString& WXUNUSED(name) )
virtual wxToolBar* CreateToolBar( long WXUNUSED(style),
wxWindowID WXUNUSED(id),
const wxString& WXUNUSED(name) )
#endif // wxUSE_TOOLBAR
// no icon
#endif // wxUSE_TOOLBAR
// no icon
- void SetIcon( const wxIcon &icon ) { m_icons = wxIconBundle( icon ); }
- void SetIcons( const wxIconBundle &icons ) { m_icons = icons; }
+ virtual void SetIcon(const wxIcon& icon)
+ { wxTopLevelWindowBase::SetIcon(icon); }
+ virtual void SetIcons(const wxIconBundle& icons )
+ { wxTopLevelWindowBase::SetIcons(icons); }
// no title
void SetTitle( const wxString &title );
// no title
void SetTitle( const wxString &title );
virtual bool IsMaximized() const { return true; }
virtual void Iconize(bool WXUNUSED(iconize) = true) { }
virtual bool IsIconized() const { return false; }
virtual bool IsMaximized() const { return true; }
virtual void Iconize(bool WXUNUSED(iconize) = true) { }
virtual bool IsIconized() const { return false; }
- virtual void SetIcon(const wxIcon& WXUNUSED(icon)) { }
- virtual void SetIcons(const wxIconBundle& WXUNUSED(icons)) { }
virtual void Restore() {}
virtual bool IsTopLevel() const { return false; }
virtual void Restore() {}
virtual bool IsTopLevel() const { return false; }
int WXUNUSED(incH) = -1) {}
#if wxUSE_TOOLBAR
int WXUNUSED(incH) = -1) {}
#if wxUSE_TOOLBAR
virtual wxToolBar* CreateToolBar( long WXUNUSED(style),
wxWindowID WXUNUSED(id),
const wxString& WXUNUSED(name) )
virtual wxToolBar* CreateToolBar( long WXUNUSED(style),
wxWindowID WXUNUSED(id),
const wxString& WXUNUSED(name) )
#endif // wxUSE_TOOLBAR
// no icon
#endif // wxUSE_TOOLBAR
// no icon
- void SetIcon( const wxIcon &icon ) { m_icons = wxIconBundle( icon ); }
- void SetIcons( const wxIconBundle &icons ) { m_icons = icons; }
+ virtual void SetIcon(const wxIcon& icon)
+ { wxTopLevelWindowBase::SetIcon(icon); }
+ virtual void SetIcons(const wxIconBundle& icons )
+ { wxTopLevelWindowBase::SetIcons(icons); }
// no title
void SetTitle( const wxString &title );
// no title
void SetTitle( const wxString &title );
virtual bool IsMaximized() const { return true; }
virtual void Iconize(bool WXUNUSED(iconize) = true) { }
virtual bool IsIconized() const { return false; }
virtual bool IsMaximized() const { return true; }
virtual void Iconize(bool WXUNUSED(iconize) = true) { }
virtual bool IsIconized() const { return false; }
- virtual void SetIcon(const wxIcon& WXUNUSED(icon)) { }
- virtual void SetIcons(const wxIconBundle& WXUNUSED(icons)) { }
virtual void Restore() {}
virtual bool IsTopLevel() const { return false; }
virtual void Restore() {}
virtual bool IsTopLevel() const { return false; }