Continuation of 'widgets' sample improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -52,7 +52,7 @@
 | 
			
		||||
// control ids
 | 
			
		||||
enum
 | 
			
		||||
{
 | 
			
		||||
    ComboPage_Reset = 100,
 | 
			
		||||
    ComboPage_Reset = wxID_HIGHEST,
 | 
			
		||||
    ComboPage_CurText,
 | 
			
		||||
    ComboPage_InsertionPointText,
 | 
			
		||||
    ComboPage_Insert,
 | 
			
		||||
@@ -192,9 +192,14 @@ END_EVENT_TABLE()
 | 
			
		||||
// implementation
 | 
			
		||||
// ============================================================================
 | 
			
		||||
 | 
			
		||||
#if defined(__WXUNIVERSAL__)
 | 
			
		||||
    #define FAMILY_CTRLS UNIVERSAL_CTRLS
 | 
			
		||||
#else
 | 
			
		||||
    #define FAMILY_CTRLS NATIVE_CTRLS
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
IMPLEMENT_WIDGETS_PAGE(ComboboxWidgetsPage, _T("Combobox"),
 | 
			
		||||
                       (int)wxPlatform(GENERIC_CTRLS).If(wxMSW,NATIVE_CTRLS)
 | 
			
		||||
                       | WITH_ITEMS_CTRLS | COMBO_CTRLS
 | 
			
		||||
                       FAMILY_CTRLS | WITH_ITEMS_CTRLS | COMBO_CTRLS
 | 
			
		||||
                       );
 | 
			
		||||
 | 
			
		||||
ComboboxWidgetsPage::ComboboxWidgetsPage(WidgetsBookCtrl *book,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user