-// associate mac windows with wx counterparts
-
-wxWindow* wxFindWinFromMacWindow( WindowRef inWindow ) ;
-void wxAssociateWinWithMacWindow(WindowRef inWindow, wxWindow *win) ;
-void wxRemoveMacWindowAssociation(wxWindow *win) ;
-
-class wxMacFocusHelper
-{
-public :
- wxMacFocusHelper( wxWindow * theWindow ) ;
- ~wxMacFocusHelper() ;
- bool Ok() { return m_ok ; }
-
-private :
- GrafPtr m_formerPort ;
- GrafPtr m_currentPort ;
- bool m_ok ;
-} ;
-
-class wxMacDrawingHelper
-{
-public :
- wxMacDrawingHelper( wxWindow * theWindow ) ;
- ~wxMacDrawingHelper() ;
- bool Ok() { return m_ok ; }
-
-private :
- GrafPtr m_formerPort ;
- GrafPtr m_currentPort ;
- PenState m_savedPenState ;
- bool m_ok ;
-} ;
-
-class wxMacFocusClientHelper
-{
-public :
- wxMacFocusClientHelper( wxWindow * theWindow ) ;
- ~wxMacFocusClientHelper() ;
- bool Ok() { return m_ok ; }
-
-private :
- GrafPtr m_formerPort ;
- GrafPtr m_currentPort ;
- bool m_ok ;
-} ;
-
-class wxMacDrawingClientHelper
-{
-public :
- wxMacDrawingClientHelper( wxWindow * theWindow ) ;
- ~wxMacDrawingClientHelper() ;
- bool Ok() { return m_ok ; }
-
-private :
- GrafPtr m_formerPort ;
- GrafPtr m_currentPort ;
- PenState m_savedPenState ;
- bool m_ok ;
-} ;
-