diff options
Diffstat (limited to 'Source/FLTKDialog/FLTKDialog.cxx')
-rw-r--r-- | Source/FLTKDialog/FLTKDialog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FLTKDialog/FLTKDialog.cxx b/Source/FLTKDialog/FLTKDialog.cxx index 5933ef5..39a3c38 100644 --- a/Source/FLTKDialog/FLTKDialog.cxx +++ b/Source/FLTKDialog/FLTKDialog.cxx @@ -3,7 +3,7 @@ #include "FL/Fl.h" #include "FL/fl_ask.H" -int main() +int main(int argc, char * argv[] ) { fl_message_font(FL_HELVETICA,11); @@ -11,6 +11,7 @@ int main() CMakeSetupGUIImplementation * gui = new CMakeSetupGUIImplementation; + gui->SetPathToExecutable( argv[0] ); gui->Show(); gui->LoadCacheFromDiskToGUI(); |