We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4efd832 commit a13fcf5Copy full SHA for a13fcf5
1 file changed
TAO/utils/wxNamingViewer/wxViewIORDialog.cpp
@@ -220,9 +220,19 @@ void WxViewIORDialog::decodeIOR()
220
}
221
222
223
-void WxViewIORDialog::OnApply( wxCommandEvent& event)
+#if defined(ANCIENT_WX_WINDOWS)
224
+#define ONLY_ANCIENT_WX_USES(x) (x)
225
+#else
226
+#define ONLY_ANCIENT_WX_USES(x) WXUNUSED(x)
227
+#endif
228
+
229
+void WxViewIORDialog::OnApply( wxCommandEvent& ONLY_ANCIENT_WX_USES(event))
230
{
231
232
wxDialog::OnApply( event);
233
234
+ wxDialog::EndModal( wxID_APPLY);
235
236
try {
237
object = orb->string_to_object( ior);
238
decodeIOR();
0 commit comments