]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
put wxUSE_DATAVIEWCTRL in alphabetical order
[wxWidgets.git] / include / wx / msw / window.h
index c11f9fdaaa6db14f480a7c8d7dd9fa88ca787762..01232d1ac9a8d2c9b1e9db3932137082365d61cb 100644 (file)
@@ -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()