]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/aga.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / mac / aga.h
index c251146d8ba1db02ff70b7e51cfb55298515840f..652736f27add1cf94ab9883d5da856def4a561b7 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef _UMA_AGA_H
 #define _UMA_AGA_H
 
 #ifndef _UMA_AGA_H
 #define _UMA_AGA_H
 
+/*
 ControlHandle AGANewControl(WindowPtr                          owningWindow,
                                                                 const Rect *                   boundsRect,
                                                                 ConstStr255Param               controlTitle,
 ControlHandle AGANewControl(WindowPtr                          owningWindow,
                                                                 const Rect *                   boundsRect,
                                                                 ConstStr255Param               controlTitle,
@@ -85,28 +86,8 @@ void                 AGAApplyThemeBackground                 (ThemeBackgroundKind    inKind,
 void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
 void AGASizeControl( ControlHandle inControl , short x , short y ) ;
 
 void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
 void AGASizeControl( ControlHandle inControl , short x , short y ) ;
 
-class AGAPortHelper 
-{
-public :
-       AGAPortHelper( GrafPtr newport) ; 
-       AGAPortHelper() ;
-       ~AGAPortHelper() ;
+*/
 
 
-       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 ;
-} ;
 
 
 #endif
\ No newline at end of file
 
 
 #endif
\ No newline at end of file