Split up the context menu functionality to make it easier to customise.
Tweaked style combobox popup border. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1564,6 +1564,17 @@ public:
|
||||
*/
|
||||
bool ApplyStyleSheet(wxRichTextStyleSheet* styleSheet = NULL);
|
||||
|
||||
/**
|
||||
Shows the given context menu, optionally adding appropriate property-editing commands for the current position in the object hierarchy.
|
||||
*/
|
||||
virtual bool ShowContextMenu(wxMenu* menu, const wxPoint& pt, bool addPropertyCommands = true);
|
||||
|
||||
/**
|
||||
Prepares the context menu, optionally adding appropriate property-editing commands.
|
||||
Returns the number of property commands added.
|
||||
*/
|
||||
virtual int PrepareContextMenu(wxMenu* menu, const wxPoint& pt, bool addPropertyCommands = true);
|
||||
|
||||
// Command handlers
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user