We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4efd832 commit d690c4dCopy full SHA for d690c4d
1 file changed
TAO/utils/wxNamingViewer/wxViewIORDialog.cpp
@@ -214,15 +214,24 @@ void WxViewIORDialog::decodeIOR()
214
} catch (const CORBA::Exception& ex) {
215
wxMessageBox( ex._info().c_str(), "CORBA::Exception");
216
}
217
-
218
219
profiles->Expand( rootItem);
220
221
222
223
-void WxViewIORDialog::OnApply( wxCommandEvent& event)
+#if defined(ANCIENT_WX_WINDOWS)
+#define ONLY_ANCIENT_WX_USES(x) (x)
224
+#else
225
+#define ONLY_ANCIENT_WX_USES(x) WXUNUSED(x)
226
+#endif
227
+
228
+void WxViewIORDialog::OnApply( wxCommandEvent& ONLY_ANCIENT_WX_USES(event))
229
{
230
231
wxDialog::OnApply( event);
232
233
+ wxDialog::EndModal( wxID_APPLY);
234
235
try {
236
object = orb->string_to_object( ior);
237
decodeIOR();
0 commit comments