Rearranged widgets sample to show more and categorized widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -85,7 +85,7 @@ enum
|
||||
class ComboboxWidgetsPage : public WidgetsPage
|
||||
{
|
||||
public:
|
||||
ComboboxWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
|
||||
ComboboxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_combobox; }
|
||||
virtual void RecreateWidget() { CreateCombo(); }
|
||||
@@ -192,9 +192,12 @@ END_EVENT_TABLE()
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
IMPLEMENT_WIDGETS_PAGE(ComboboxWidgetsPage, _T("Combobox"));
|
||||
IMPLEMENT_WIDGETS_PAGE(ComboboxWidgetsPage, _T("Combobox"),
|
||||
(int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
|
||||
| WITH_ITEMS_CTRLS | COMBO_CTRLS
|
||||
);
|
||||
|
||||
ComboboxWidgetsPage::ComboboxWidgetsPage(wxBookCtrlBase *book,
|
||||
ComboboxWidgetsPage::ComboboxWidgetsPage(WidgetsBookCtrl *book,
|
||||
wxImageList *imaglist)
|
||||
: WidgetsPage(book)
|
||||
{
|
||||
|
Reference in New Issue
Block a user