inline long GetLeftMargin(void) const { return m_leftMargin; }
inline bool GetOrientation(void) const { return m_orientation; }
- inline void SetOrientation(bool or) { m_orientation = or; }
+ inline void SetOrientation(bool orient) { m_orientation = orient; }
private:
void CalcLayout(long node_id, int level, wxDC& dc);
* A version of wxTreeLayout with storage for nodes
*/
-class WXDLLEXPORT wxLayoutTreeStored: public wxTreeLayout
+class WXDLLEXPORT wxTreeLayoutStored: public wxTreeLayout
{
- DECLARE_DYNAMIC_CLASS(wxLayoutTreeStored)
+ DECLARE_DYNAMIC_CLASS(wxTreeLayoutStored)
public:
- wxLayoutTreeStored(int noNodes = 200);
- ~wxLayoutTreeStored(void);
+ wxTreeLayoutStored(int noNodes = 200);
+ ~wxTreeLayoutStored(void);
void Initialize(int n);
wxString HitTest(wxMouseEvent& event, wxDC& dc);
};
// For backward compatibility
-#define wxStoredTree wxLayoutTreeStored
+#define wxStoredTree wxTreeLayoutStored
#endif
// _WX_TREELAY_H_