From 887dc7ff8d52a65984b81c74656f584b10102719 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 3 Dec 2012 14:42:57 -0500 Subject: [PATCH] Fix dl on windows --- src/OpenSQLManager.php | 425 +++++++++++++++++++++-------------------- 1 file changed, 216 insertions(+), 209 deletions(-) diff --git a/src/OpenSQLManager.php b/src/OpenSQLManager.php index 694cc36..19ecd31 100644 --- a/src/OpenSQLManager.php +++ b/src/OpenSQLManager.php @@ -1,210 +1,217 @@ -show(); - - return 0; - } - - /** - * Return exit code - * - * @return int - */ - public function OnExit() - { - \wxExit(); - return 0; - } -} - -// Create the app instance -$app = new OpenSQLManager(); - -// Create platform information object -$platform = new \wxPlatformInfo(); - -// Define the platform for later use -define('PLATFORM', $platform->GetOperatingSystemId()); - -// Start the wx event loop -\wxApp::SetInstance($app); -\wxEntry(); - +show(); + + return 0; + } + + /** + * Return exit code + * + * @return int + */ + public function OnExit() + { + \wxExit(); + return 0; + } +} + +// Create the app instance +$app = new OpenSQLManager(); + +// Create platform information object +$platform = new \wxPlatformInfo(); + +// Define the platform for later use +define('PLATFORM', $platform->GetOperatingSystemId()); + +// Start the wx event loop +\wxApp::SetInstance($app); +\wxEntry(); + // End of OpenSQLManager.php \ No newline at end of file