Skip to content

Commit a284ef1

Browse files
committed
EVT_LISTBOX_DLICK is handled as a wxCommandEvent
Going back to the source code from 2003, it seems that it has always should have been wxCommandEvent and not wxMouseEvent.
1 parent cb6d7c3 commit a284ef1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

TAO/utils/wxNamingViewer/wxSelectNSDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void WxSelectNSDialog::onInitDialog( wxInitDialogEvent& event)
186186
}
187187

188188

189-
void WxSelectNSDialog::onLeftDClick( wxMouseEvent& event)
189+
void WxSelectNSDialog::onLeftDClick( wxCommandEvent& event)
190190
{
191191
ACE_UNUSED_ARG( event);
192192

TAO/utils/wxNamingViewer/wxSelectNSDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class WxSelectNSDialog : public
1919
void onInitDialog( wxInitDialogEvent& event);
2020
void onOK( wxCommandEvent& event);
2121
void onRemove( wxCommandEvent& event);
22-
void onLeftDClick( wxMouseEvent& event);
22+
void onLeftDClick( wxCommandEvent& event);
2323

2424
class ACE_Configuration* config;
2525

0 commit comments

Comments
 (0)