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:
parent
689f42f4b4
commit
f2fdc4d56e
27 changed files with 1059 additions and 299 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue