]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/mmedia/mmboard.h
Added support for toggle button on OS/2.
[wxWidgets.git] / contrib / samples / mmedia / mmboard.h
index df2590bbb14f0b92a83f2d4efdd91513b902e31e..10b3a55eb142be5cd3ca6b5b0c287de93a738a3b 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef _MMBOARD_APP_H_
 #define _MMBOARD_APP_H_
 
 #ifndef _MMBOARD_APP_H_
 #define _MMBOARD_APP_H_
 
-#ifdef __GNUG__
-    #pragma interface "mmboard.cpp"
+#if defined(__GNUG__) && !defined(__APPLE__)
+    #pragma interface "mmboard.h"
 #endif
 
 // for compilers that support precompilation, includes "wx/wx.h"
 #endif
 
 // for compilers that support precompilation, includes "wx/wx.h"
@@ -50,7 +50,7 @@ public:
   // ----------------------------
 
   virtual bool OnInit();
   // ----------------------------
 
   virtual bool OnInit();
-  
+
   wxUint8 TestMultimediaCaps();
 };
 
   wxUint8 TestMultimediaCaps();
 };