#include <QApplication>
#include <QMessageBox>
-// Need a global reference to process net thread
+// Need a global reference for the notifications to find the GUI
BitcoinGUI *guiref;
int MyMessageBox(const std::string& message, const std::string& caption, int style, wxWindow* parent, int x, int y)
window.setModel(&model);
window.show();
- guiref = 0;
- /* Depending on settings: QApplication::setQuitOnLastWindowClosed(false); */
int retval = app.exec();
+ guiref = 0;
Shutdown(NULL);
return retval;