cleanup, fixing exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,31 +32,6 @@ typedef SInt32 SRefCon;
|
|||||||
|
|
||||||
#ifndef __LP64__
|
#ifndef __LP64__
|
||||||
|
|
||||||
class wxMacPortStateHelper
|
|
||||||
{
|
|
||||||
DECLARE_NO_COPY_CLASS(wxMacPortStateHelper)
|
|
||||||
|
|
||||||
public:
|
|
||||||
wxMacPortStateHelper( GrafPtr newport);
|
|
||||||
wxMacPortStateHelper();
|
|
||||||
~wxMacPortStateHelper();
|
|
||||||
|
|
||||||
void Setup( GrafPtr newport );
|
|
||||||
void Clear();
|
|
||||||
bool IsCleared() { return m_clip == NULL; }
|
|
||||||
GrafPtr GetCurrentPort() { return m_currentPort; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
GrafPtr m_currentPort;
|
|
||||||
GrafPtr m_oldPort;
|
|
||||||
RgnHandle m_clip;
|
|
||||||
ThemeDrawingState m_drawingState;
|
|
||||||
short m_textFont;
|
|
||||||
short m_textSize;
|
|
||||||
short m_textStyle;
|
|
||||||
short m_textMode;
|
|
||||||
};
|
|
||||||
|
|
||||||
class WXDLLEXPORT wxMacPortSaver
|
class WXDLLEXPORT wxMacPortSaver
|
||||||
{
|
{
|
||||||
DECLARE_NO_COPY_CLASS(wxMacPortSaver)
|
DECLARE_NO_COPY_CLASS(wxMacPortSaver)
|
||||||
@@ -68,17 +43,6 @@ private :
|
|||||||
GrafPtr m_port;
|
GrafPtr m_port;
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXDLLEXPORT wxMacPortSetter
|
|
||||||
{
|
|
||||||
DECLARE_NO_COPY_CLASS(wxMacPortSetter)
|
|
||||||
|
|
||||||
public:
|
|
||||||
wxMacPortSetter( const wxDC* dc );
|
|
||||||
~wxMacPortSetter();
|
|
||||||
private:
|
|
||||||
wxMacPortStateHelper m_ph;
|
|
||||||
const wxDC* m_dc;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Clips to the visible region of a control within the current port
|
Clips to the visible region of a control within the current port
|
||||||
@@ -1082,11 +1046,9 @@ OSStatus WXDLLEXPORT wxMacDrawCGImage(
|
|||||||
const HIRect * inBounds,
|
const HIRect * inBounds,
|
||||||
CGImageRef inImage) ;
|
CGImageRef inImage) ;
|
||||||
|
|
||||||
CGColorRef wxMacCreateCGColorFromHITheme( ThemeBrush brush ) ;
|
CGColorRef WXDLLEXPORT wxMacCreateCGColorFromHITheme( ThemeBrush brush ) ;
|
||||||
|
|
||||||
CGColorSpaceRef wxMacGetGenericRGBColorSpace(void);
|
CGColorSpaceRef WXDLLEXPORT wxMacGetGenericRGBColorSpace(void);
|
||||||
|
|
||||||
void wxMacMemoryBufferReleaseProc(void *info, const void *data, size_t size);
|
|
||||||
|
|
||||||
// toplevel.cpp
|
// toplevel.cpp
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user