#ifndef __NEW_TEST_G__
#define __NEW_TEST_G__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "fl_demo1.h"
#endif
#define NEW_TEST_EXIT 1103
#include "wx/panel.h"
+#include "wx/statline.h"
// Define a new application type
class MyApp: public wxApp
DECLARE_EVENT_TABLE()
};
+/*
+ * Quick example of your own Separator class...
+ */
+class wxMySeparatorLine : public wxStaticLine
+{
+public:
+ wxMySeparatorLine()
+ {}
+ wxMySeparatorLine( wxWindow *parent, wxWindowID id)
+ : wxStaticLine( parent, id)
+ {}
+
+protected:
+ virtual void DoSetSize( int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+};
+
#endif