X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1272e71b8ab50b65f24036a7fd0002d1bef59928..1191c93ebc356c379a6c20c0214b3a14562cfbdf:/include/wx/msw/window.h?ds=sidebyside diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index c11f9fdaaa..01232d1ac9 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -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()