File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -214,15 +214,24 @@ void WxViewIORDialog::decodeIOR()
214
214
} catch (const CORBA::Exception& ex) {
215
215
wxMessageBox ( ex._info ().c_str (), " CORBA::Exception" );
216
216
}
217
-
218
217
}
219
218
profiles->Expand ( rootItem);
220
219
}
221
220
222
221
223
- void WxViewIORDialog::OnApply ( wxCommandEvent& event)
222
+ #if defined(ANCIENT_WX_WINDOWS)
223
+ #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))
224
229
{
230
+ #if defined(ANCIENT_WX_WINDOWS)
225
231
wxDialog::OnApply ( event);
232
+ #else
233
+ wxDialog::EndModal ( wxID_APPLY);
234
+ #endif
226
235
try {
227
236
object = orb->string_to_object ( ior);
228
237
decodeIOR ();
You can’t perform that action at this time.
0 commit comments