Added context menu support under PocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,6 +137,11 @@ public:
|
||||
virtual bool UnregisterHotKey(int hotkeyId);
|
||||
#endif // wxUSE_HOTKEY
|
||||
|
||||
#ifdef __POCKETPC__
|
||||
bool IsContextMenuEnabled() const { return m_contextMenuEnabled; }
|
||||
void EnableContextMenu(bool enable = true) { m_contextMenuEnabled = enable; }
|
||||
#endif
|
||||
|
||||
// window handle stuff
|
||||
// -------------------
|
||||
|
||||
@@ -502,6 +507,10 @@ private:
|
||||
wxPoint m_pendingPosition;
|
||||
wxSize m_pendingSize;
|
||||
|
||||
#ifdef __POCKETPC__
|
||||
bool m_contextMenuEnabled;
|
||||
#endif
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxWindowMSW)
|
||||
DECLARE_NO_COPY_CLASS(wxWindowMSW)
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
Reference in New Issue
Block a user