The button icons have a different size from all the other clients in wxGTK so
it may be interesting to see them in the sample, add wxART_BUTTON to the list
of art clients that can be chosen in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66501
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static void FillClients(wxChoice *choice)
{
ART_CLIENT(wxART_OTHER)
static void FillClients(wxChoice *choice)
{
ART_CLIENT(wxART_OTHER)
+ ART_CLIENT(wxART_BUTTON)
ART_CLIENT(wxART_TOOLBAR)
ART_CLIENT(wxART_MENU)
ART_CLIENT(wxART_FRAME_ICON)
ART_CLIENT(wxART_CMN_DIALOG)
ART_CLIENT(wxART_HELP_BROWSER)
ART_CLIENT(wxART_TOOLBAR)
ART_CLIENT(wxART_MENU)
ART_CLIENT(wxART_FRAME_ICON)
ART_CLIENT(wxART_CMN_DIALOG)
ART_CLIENT(wxART_HELP_BROWSER)
- ART_CLIENT(wxART_MESSAGE_BOX)
+ ART_CLIENT(wxART_MESSAGE_BOX) // Keep this last, it's the initial shown one
}
static void FillBitmaps(wxImageList *images, wxListCtrl *list,
}
static void FillBitmaps(wxImageList *images, wxListCtrl *list,
- choice->SetSelection(6/*wxART_MESSAGE_BOX*/);
+ choice->SetSelection(choice->GetCount() - 1);
SetArtClient(wxART_MESSAGE_BOX);
}
SetArtClient(wxART_MESSAGE_BOX);
}