Attempting to check in this wretched cursor again. Also added SetAcceleratorTable

to wxWindow, GnuWin32 fix in registry.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-08-13 10:19:16 +00:00
parent 088a95f5ff
commit 14b72bf5a6
6 changed files with 18 additions and 3 deletions

View File

@@ -26,6 +26,7 @@
#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
@@ -348,6 +349,8 @@ public:
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);
@@ -588,6 +591,7 @@ public:
////////////////////////////////////////////////////////////////////////
//// PROTECTED DATA
protected:
wxAcceleratorTable m_acceleratorTable;
int m_windowId;
long m_windowStyle; // Store the window's style
wxEvtHandler * m_windowEventHandler; // Usually is 'this'