git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15222
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxSize GetFrameMinSize(int flags) const;
virtual wxSize GetFrameIconSize() const;
virtual int HitTestFrame(const wxRect& rect, const wxPoint& pt, int flags) const;
virtual wxSize GetFrameMinSize(int flags) const;
virtual wxSize GetFrameIconSize() const;
virtual int HitTestFrame(const wxRect& rect, const wxPoint& pt, int flags) const;
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
wxBitmap *bmpFocus,
wxBitmap *bmpPressed,
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
wxBitmap *bmpFocus,
wxBitmap *bmpPressed,
wxInputHandler *GetDefaultInputHandler();
wxGTKRenderer *m_renderer;
wxInputHandler *GetDefaultInputHandler();
wxGTKRenderer *m_renderer;
wxGTKArtProvider *m_artProvider;
// the names of the already created handlers and the handlers themselves
wxGTKArtProvider *m_artProvider;
// the names of the already created handlers and the handlers themselves
m_scheme = NULL;
m_renderer = NULL;
m_handlerDefault = NULL;
m_scheme = NULL;
m_renderer = NULL;
m_handlerDefault = NULL;
}
wxGTKTheme::~wxGTKTheme()
}
wxGTKTheme::~wxGTKTheme()
delete m_handlerDefault;
delete m_renderer;
delete m_scheme;
delete m_handlerDefault;
delete m_renderer;
delete m_scheme;
+ wxArtProvider::RemoveProvider(m_artProvider);
}
wxRenderer *wxGTKTheme::GetRenderer()
}
wxRenderer *wxGTKTheme::GetRenderer()
DrawCheckButton(dc, _T(""), bitmap, rectBitmap, flags & ~wxCONTROL_FOCUSED);
wxRect rectLabel = rect;
DrawCheckButton(dc, _T(""), bitmap, rectBitmap, flags & ~wxCONTROL_FOCUSED);
wxRect rectLabel = rect;
- wxCoord shift = rectBitmap.width + 2*GetCheckItemMargin();
+ wxCoord shift = rectBitmap.width + 2*GetCheckItemMargin();
rectLabel.x += shift;
rectLabel.width -= shift;
DrawItem(dc, label, rectLabel, flags);
rectLabel.x += shift;
rectLabel.width -= shift;
DrawItem(dc, label, rectLabel, flags);
m_scheme = NULL;
m_renderer = NULL;
m_handlerDefault = NULL;
m_scheme = NULL;
m_renderer = NULL;
m_handlerDefault = NULL;
}
wxWin32Theme::~wxWin32Theme()
}
wxWin32Theme::~wxWin32Theme()
delete m_renderer;
delete m_scheme;
delete m_renderer;
delete m_scheme;
+ wxArtProvider::RemoveProvider(m_artProvider);
}
wxRenderer *wxWin32Theme::GetRenderer()
}
wxRenderer *wxWin32Theme::GetRenderer()