// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __SPLITTERH_G__
-#define __SPLITTERH_G__
-
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "splitter.h"
-#endif
+#ifndef _WX_GENERIC_SPLITTER_H_
+#define _WX_GENERIC_SPLITTER_H_
#include "wx/window.h" // base class declaration
#include "wx/containr.h" // wxControlContainer
-class WXDLLEXPORT wxSplitterEvent;
+class WXDLLIMPEXP_FWD_CORE wxSplitterEvent;
// ---------------------------------------------------------------------------
// splitter constants
}
// Gets the split mode
- wxSplitMode GetSplitMode() const { return m_splitMode; };
+ wxSplitMode GetSplitMode() const { return m_splitMode; }
// Initialize with one window
void Initialize(wxWindow *window);
// send the given event, return false if the event was processed and vetoed
// by the user code
- inline bool DoSendEvent(wxSplitterEvent& event);
+ bool DoSendEvent(wxSplitterEvent& event);
// common part of all ctors
void Init();
}
private:
- friend class WXDLLEXPORT wxSplitterWindow;
+ friend class WXDLLIMPEXP_FWD_CORE wxSplitterWindow;
// data for the different types of event
union
#define EVT_SPLITTER_UNSPLIT(id, fn) \
wx__DECLARE_SPLITTEREVT(UNSPLIT, id, fn)
-#endif // __SPLITTERH_G__
+#endif // _WX_GENERIC_SPLITTER_H_