]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/utils.mm
Add wxTimer::StartOnce().
[wxWidgets.git] / src / osx / iphone / utils.mm
index f453992216acc728fdcc066dd1fe8b2f271d4260..cd21d51fb9244c06fde7791a766f4a76dbf5226f 100644 (file)
 
 #if 1 // wxUSE_BASE
 
-// Emit a beeeeeep
-void wxBell()
-{
-    // would be kSystemSoundID_UserPreferredAlert but since the headers aren't correct, add it manually
-    AudioServicesPlayAlertSound(0x00001000 );
-}
-
 // ----------------------------------------------------------------------------
 // Common Event Support
 // ----------------------------------------------------------------------------
@@ -91,6 +84,13 @@ void wxApp::DoCleanUp()
 
 #if wxUSE_GUI
 
+// Emit a beeeeeep
+void wxBell()
+{
+    // would be kSystemSoundID_UserPreferredAlert but since the headers aren't correct, add it manually
+    AudioServicesPlayAlertSound(0x00001000 );
+}
+
 // ----------------------------------------------------------------------------
 // Launch default browser
 // ----------------------------------------------------------------------------