fix for compiling in wxUSE_GUI == 0 mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-29 00:32:06 +00:00
parent 4fc5f50932
commit 2ba721aa6c

View File

@@ -33,6 +33,8 @@
#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
@@ -107,6 +109,8 @@ private:
// 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 ) ;
@@ -124,6 +128,8 @@ WXDLLEXPORT wxString wxMacFindFolder(short vRefNum,
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 ) ;
@@ -143,6 +149,8 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi
#define MAC_WXPOINTPTR(a) ((Point*)a)
#define MAC_WXHMENU(a) ((MenuHandle)a)
#endif // wxUSE_GUI
//---------------------------------------------------------------------------
// wxMac string conversions
//---------------------------------------------------------------------------
@@ -293,7 +301,7 @@ inline CFStringRef wxMacStringToCFString( const wxString &str )
#endif //TARGET_CARBON
#endif
#endif // 0
#endif
// _WX_PRIVATE_H_