disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer Tools update contain a bug concerning #pragma interface handling that can only be worked around by not using them (and they are not necessary anyways) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,8 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/image.h"
|
||||||
|
|
||||||
// Include private headers
|
// Include private headers
|
||||||
#include "styles.h"
|
#include "styles.h"
|
||||||
|
|
||||||
@@ -38,7 +40,6 @@ MyFrame::MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
|
|||||||
CreateStatusBar(1);
|
CreateStatusBar(1);
|
||||||
SetStatusText( "Welcome to Styles!" );
|
SetStatusText( "Welcome to Styles!" );
|
||||||
|
|
||||||
|
|
||||||
wxImage image;
|
wxImage image;
|
||||||
image.LoadFile( "marble.jpg", wxBITMAP_TYPE_JPEG );
|
image.LoadFile( "marble.jpg", wxBITMAP_TYPE_JPEG );
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
#ifndef __styles_H__
|
#ifndef __styles_H__
|
||||||
#define __styles_H__
|
#define __styles_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "styles.cpp"
|
#pragma interface "styles.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
#ifndef __wxedit_H__
|
#ifndef __wxedit_H__
|
||||||
#define __wxedit_H__
|
#define __wxedit_H__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "wxedit.cpp"
|
#pragma interface "wxedit.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user