]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextctrl.h
Activate the view of a newly created document.
[wxWidgets.git] / include / wx / richtext / richtextctrl.h
index dc240371cb9e5b94c2dbc83c4bb927825db30c58..8d72b3909ca2b8ec04cb8cfcb6cda947d9bc44d8 100644 (file)
@@ -177,7 +177,7 @@ public:
 
     /// Get/set context menu
     wxMenu* GetContextMenu() const { return m_contextMenu; }
-    void SetContextMenu(wxMenu* menu) { m_contextMenu = menu; }
+    void SetContextMenu(wxMenu* menu);
 
     /// Anchor so we know how to extend the selection
     /// It's a caret position since it's between two characters.