#ifndef _WX_RESOURCEH__
#define _WX_RESOURCEH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "resource.h"
#endif
// Extended styles: for resource usage only
// Use dialog units instead of pixels
-#define wxRESOURCE_DIALOG_UNITS 1
+#define wxRESOURCE_DIALOG_UNITS 0x0001
// Use default system colour and font
-#define wxRESOURCE_USE_DEFAULTS 2
+#define wxRESOURCE_USE_DEFAULTS 0x0002
+// Old-style vertical label
+#define wxRESOURCE_VERTICAL_LABEL 0x0004
+// Old-style horizontal label
+#define wxRESOURCE_HORIZONTAL_LABEL 0x0008
// Macros to help use dialog units
#define wxDLG_POINT(x, y, parent, useDlgUnits) (useDlgUnits ? parent->ConvertDialogToPixel(wxPoint(x, y)) : wxPoint(x, y))
#undef FindResource
#endif
+class WXDLLEXPORT wxInputStream;
+
/*
* Internal format for control/panel item
*/
virtual bool DeleteResource(const wxString& name);
virtual bool ParseResourceFile(const wxString& filename);
- virtual bool ParseResourceFile( wxInputStream *is ) ;
+ virtual bool ParseResourceFile(wxInputStream *is);
virtual bool ParseResourceData(const wxString& data);
virtual bool SaveResource(const wxString& filename);
WXDLLEXPORT extern bool wxResourceAddIdentifier(const wxString& name, int value, wxResourceTable *table = (wxResourceTable *) NULL);
WXDLLEXPORT extern int wxResourceGetIdentifier(const wxString& name, wxResourceTable *table = (wxResourceTable *) NULL);
+#if defined(__WXPM__)
+#include "wx/os2/wxrsc.h"
+#endif
#endif
#endif
// _WX_RESOURCEH__