Don't mention deprecated event type constants in the documentation
Several wxEVT_COMMAND_xxx constants were replaced with alternative (shorter) names in ce7fe42e84
and since 2.9.5 they are actually deprecated and shouldn't be mentioned in the documentation.
This commit is contained in:
@@ -196,10 +196,10 @@ void MyClass::ShowDialog()
|
||||
if (!wxXmlResource::Get()->LoadDialog(&dlg, NULL, "SimpleDialog"))
|
||||
return;
|
||||
|
||||
XRCCTRL(dlg, "text", wxTextCtrl)->Bind(wxEVT_COMMAND_TEXT_UPDATED,
|
||||
XRCCTRL(dlg, "text", wxTextCtrl)->Bind(wxEVT_TEXT,
|
||||
wxTextEventHandler(MyClass::OnTextEntered), this, XRCID("text"));
|
||||
|
||||
XRCCTRL(dlg, "clickme_btn", wxButton)->Bind(wxEVT_COMMAND_BUTTON_CLICKED,
|
||||
XRCCTRL(dlg, "clickme_btn", wxButton)->Bind(wxEVT_BUTTON,
|
||||
wxCommandEventHandler(MyClass::OnClickme), this, XRCID("clickme_btn"));
|
||||
|
||||
dlg.ShowModal();
|
||||
|
Reference in New Issue
Block a user