wxSmith creates an object called FileDialog1, you can change the name. Use something like this in your menu event:
FileDialog1->SetDirectory(initialDirectory);
if (FileDialog1->ShowModal() == wxID_OK)
OpenFile(FileDialog1->GetPath());
EDIT: Fixed object name