compilation fix for wxUniv/GTK (closes #9849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -27,14 +27,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
class WXDLLIMPEXP_FWD_CORE wxDataFormat;
 | 
					class WXDLLIMPEXP_FWD_CORE wxDataFormat;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(__WXGTK20__)
 | 
					 | 
				
			||||||
    // for testing
 | 
					 | 
				
			||||||
    // #define wxUSE_GENERICDATAVIEWCTRL 1
 | 
					 | 
				
			||||||
#elif defined(__WXMAC__)
 | 
					 | 
				
			||||||
#else
 | 
					 | 
				
			||||||
    #define wxUSE_GENERICDATAVIEWCTRL 1
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// ----------------------------------------------------------------------------
 | 
					// ----------------------------------------------------------------------------
 | 
				
			||||||
// wxDataViewCtrl flags
 | 
					// wxDataViewCtrl flags
 | 
				
			||||||
// ----------------------------------------------------------------------------
 | 
					// ----------------------------------------------------------------------------
 | 
				
			||||||
@@ -856,13 +848,13 @@ typedef void (wxEvtHandler::*wxDataViewEventFunction)(wxDataViewEvent&);
 | 
				
			|||||||
#define EVT_DATAVIEW_COLUMN_SORTED(id, fn) wx__DECLARE_DATAVIEWEVT(COLUMN_SORTED, id, fn)
 | 
					#define EVT_DATAVIEW_COLUMN_SORTED(id, fn) wx__DECLARE_DATAVIEWEVT(COLUMN_SORTED, id, fn)
 | 
				
			||||||
#define EVT_DATAVIEW_COLUMN_REORDERED(id, fn) wx__DECLARE_DATAVIEWEVT(COLUMN_REORDERED, id, fn)
 | 
					#define EVT_DATAVIEW_COLUMN_REORDERED(id, fn) wx__DECLARE_DATAVIEWEVT(COLUMN_REORDERED, id, fn)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(wxUSE_GENERICDATAVIEWCTRL)
 | 
					
 | 
				
			||||||
    #include "wx/generic/dataview.h"
 | 
					#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
 | 
				
			||||||
#elif defined(__WXGTK20__)
 | 
					 | 
				
			||||||
    #include "wx/gtk/dataview.h"
 | 
					    #include "wx/gtk/dataview.h"
 | 
				
			||||||
#elif defined(__WXMAC__)
 | 
					#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
 | 
				
			||||||
    #include "wx/osx/dataview.h"
 | 
					    #include "wx/osx/dataview.h"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					    #define wxUSE_GENERICDATAVIEWCTRL
 | 
				
			||||||
    #include "wx/generic/dataview.h"
 | 
					    #include "wx/generic/dataview.h"
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user