#include "wx/string.h"
#include "wx/list.h"
#include "wx/region.h"
+#include "wx/msw/accel.h"
#define wxKEY_SHIFT 1
#define wxKEY_CTRL 2
class WXDLLEXPORT wxValidator;
#if USE_DRAG_AND_DROP
-class wxDropTarget;
+class WXDLLEXPORT wxDropTarget;
#endif
#if USE_WX_RESOURCES
inline virtual wxButton *GetDefaultItem(void) const;
inline virtual void SetDefaultItem(wxButton *but);
+ virtual void SetAcceleratorTable(const wxAcceleratorTable& accel);
+
// Override to define new behaviour for default action (e.g. double clicking
// on a listbox)
virtual void OnDefaultAction(wxControl *initiatingItem);
////////////////////////////////////////////////////////////////////////
//// PROTECTED DATA
protected:
+ wxAcceleratorTable m_acceleratorTable;
int m_windowId;
long m_windowStyle; // Store the window's style
wxEvtHandler * m_windowEventHandler; // Usually is 'this'