corrected conditional compilation tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f2828b3910
commit
d8eccedebe
@ -25,12 +25,15 @@ class wxMouseEvent;
|
|||||||
|
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
|
|
||||||
|
#if wxUSE_TREELAYOUT
|
||||||
|
|
||||||
class WXDLLEXPORT wxTreeLayout: public wxObject
|
class WXDLLEXPORT wxTreeLayout: public wxObject
|
||||||
{
|
{
|
||||||
DECLARE_ABSTRACT_CLASS(wxTreeLayout)
|
DECLARE_ABSTRACT_CLASS(wxTreeLayout)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxTreeLayout();
|
wxTreeLayout();
|
||||||
|
virtual ~wxTreeLayout() { }
|
||||||
|
|
||||||
// Redefine these
|
// Redefine these
|
||||||
virtual void GetChildren(long id, wxList& list) = 0;
|
virtual void GetChildren(long id, wxList& list) = 0;
|
||||||
@ -105,7 +108,7 @@ class WXDLLEXPORT wxTreeLayoutStored: public wxTreeLayout
|
|||||||
DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored)
|
DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored)
|
||||||
public:
|
public:
|
||||||
wxTreeLayoutStored(int noNodes = 200);
|
wxTreeLayoutStored(int noNodes = 200);
|
||||||
~wxTreeLayoutStored(void);
|
virtual ~wxTreeLayoutStored(void);
|
||||||
void Initialize(int n);
|
void Initialize(int n);
|
||||||
|
|
||||||
wxString HitTest(wxMouseEvent& event, wxDC& dc);
|
wxString HitTest(wxMouseEvent& event, wxDC& dc);
|
||||||
@ -140,6 +143,9 @@ private:
|
|||||||
// For backward compatibility
|
// For backward compatibility
|
||||||
#define wxStoredTree wxTreeLayoutStored
|
#define wxStoredTree wxTreeLayoutStored
|
||||||
|
|
||||||
|
#endif
|
||||||
|
// wxUSE_TREELAYOUT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_TREELAY_H_
|
// _WX_TREELAY_H_
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user