wxART_BUTTON seems to be more appropriate, although in practice this doesn't
make any difference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62298
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_text = new wxStaticText(this, wxID_ANY, "");
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
m_text = new wxStaticText(this, wxID_ANY, "");
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
- const wxSize sizeBmp = wxArtProvider::GetSizeHint(wxART_FRAME_ICON);
+ const wxSize sizeBmp = wxArtProvider::GetSizeHint(wxART_BUTTON);
wxBitmap bmp = GetCloseButtonBitmap(this, sizeBmp, colBg);
#else // !wxHAS_DRAW_TITLE_BAR_BITMAP
wxBitmap bmp = GetCloseButtonBitmap(this, sizeBmp, colBg);
#else // !wxHAS_DRAW_TITLE_BAR_BITMAP
- wxBitmap bmp = wxArtProvider::GetBitmap(wxART_CLOSE, wxART_MENU);
+ wxBitmap bmp = wxArtProvider::GetBitmap(wxART_CLOSE, wxART_BUTTON);
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
m_button = new wxBitmapButton
(
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
m_button = new wxBitmapButton
(
{
m_icon->SetBitmap(wxArtProvider::GetBitmap(
wxArtProvider::GetMessageBoxIconId(flags),
{
m_icon->SetBitmap(wxArtProvider::GetBitmap(
wxArtProvider::GetMessageBoxIconId(flags),