]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/styles/styles.h
Renewed makefiles after reverting run-time lib change
[wxWidgets.git] / samples / mobile / styles / styles.h
index 88b4944ef3d530b6e2fdc12b7b4af40925da9115..078423813ace546bce82d8e33b49f023a69f2209 100644 (file)
@@ -7,11 +7,11 @@
 #ifndef __styles_H__
 #define __styles_H__
 
-#ifdef __GNUG__
-    #pragma interface "styles.cpp"
+#if defined(__GNUG__) && !defined(__APPLE__)
+    #pragma interface "styles.h"
 #endif
 
-// Include wxWindows' headers
+// Include wxWidgets' headers
 
 #ifndef WX_PRECOMP
     #include <wx/wx.h>
@@ -36,16 +36,16 @@ public:
         const wxPoint& pos = wxDefaultPosition,
         const wxSize& size = wxDefaultSize,
         long style = wxDEFAULT_FRAME_STYLE );
-    
+
 private:
     void CreateMyMenuBar();
-    
+
 private:
     void OnAbout( wxCommandEvent &event );
     void OnQuit( wxCommandEvent &event );
-    
+
     void OnCloseWindow( wxCloseEvent &event );
-    
+
 private:
     DECLARE_EVENT_TABLE()
 };
@@ -57,8 +57,8 @@ private:
 class MyApp: public wxApp
 {
 public:
-    MyApp();
-    
+    MyApp(){};
+
     virtual bool OnInit();
     virtual int OnExit();
 };