#error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
#endif
+#if wxUSE_GUI
+
#include "wx/window.h"
class wxMacPortStateHelper
// app.h
bool wxMacConvertEventToRecord( EventRef event , EventRecord *rec) ;
+#endif // wxUSE_GUI
+
// filefn.h
WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ;
WXDLLEXPORT void wxMacFilename2FSSpec( const char *path , FSSpec *spec ) ;
OSType folderType,
Boolean createFolder);
+#if wxUSE_GUI
+
GWorldPtr wxMacCreateGWorld( int width , int height , int depth ) ;
void wxMacDestroyGWorld( GWorldPtr gw ) ;
PicHandle wxMacCreatePict( GWorldPtr gw , GWorldPtr mask = NULL ) ;
#define MAC_WXPOINTPTR(a) ((Point*)a)
#define MAC_WXHMENU(a) ((MenuHandle)a)
+#endif // wxUSE_GUI
+
//---------------------------------------------------------------------------
// wxMac string conversions
//---------------------------------------------------------------------------
#endif //TARGET_CARBON
-#endif
+#endif // 0
#endif
// _WX_PRIVATE_H_