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:
		@@ -76,7 +76,7 @@ enum
 | 
			
		||||
class ListboxWidgetsPage : public WidgetsPage
 | 
			
		||||
{
 | 
			
		||||
public:
 | 
			
		||||
    ListboxWidgetsPage(wxBookCtrlBase *book, wxImageList *imaglist);
 | 
			
		||||
    ListboxWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist);
 | 
			
		||||
 | 
			
		||||
    virtual wxControl *GetWidget() const { return m_lbox; }
 | 
			
		||||
    virtual void RecreateWidget() { CreateLbox(); }
 | 
			
		||||
@@ -193,9 +193,12 @@ END_EVENT_TABLE()
 | 
			
		||||
// implementation
 | 
			
		||||
// ============================================================================
 | 
			
		||||
 | 
			
		||||
IMPLEMENT_WIDGETS_PAGE(ListboxWidgetsPage, _T("Listbox"));
 | 
			
		||||
IMPLEMENT_WIDGETS_PAGE(ListboxWidgetsPage, _T("Listbox"),
 | 
			
		||||
                       (int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
 | 
			
		||||
                       | WITH_ITEMS_CTRLS
 | 
			
		||||
                       );
 | 
			
		||||
 | 
			
		||||
ListboxWidgetsPage::ListboxWidgetsPage(wxBookCtrlBase *book,
 | 
			
		||||
ListboxWidgetsPage::ListboxWidgetsPage(WidgetsBookCtrl *book,
 | 
			
		||||
                                       wxImageList *imaglist)
 | 
			
		||||
                  : WidgetsPage(book)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user