]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 16 Nov 2007 20:58:12 +0000 (20:58 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 16 Nov 2007 20:58:12 +0000 (20:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/private/mactext.h
include/wx/mac/carbon/private/print.h

index ab3257ba0d2f346f200a00aa9bd028ee2247d013..36820b10f905559a6c5cf909f7cd079c573a9b7e 100644 (file)
@@ -57,20 +57,8 @@ public :
     virtual wxString GetLineText(long lineNo) const ;
     virtual void CheckSpelling(bool WXUNUSED(check)) { }
 
-#ifndef __WXMAC_OSX__
-    virtual void            MacControlUserPaneDrawProc(wxInt16 part) = 0 ;
-    virtual wxInt16         MacControlUserPaneHitTestProc(wxInt16 x, wxInt16 y) = 0 ;
-    virtual wxInt16         MacControlUserPaneTrackingProc(wxInt16 x, wxInt16 y, void* actionProc) = 0 ;
-    virtual void            MacControlUserPaneIdleProc() = 0 ;
-    virtual wxInt16         MacControlUserPaneKeyDownProc(wxInt16 keyCode, wxInt16 charCode, wxInt16 modifiers) = 0 ;
-    virtual void            MacControlUserPaneActivateProc(bool activating) = 0 ;
-    virtual wxInt16         MacControlUserPaneFocusProc(wxInt16 action) = 0 ;
-    virtual void            MacControlUserPaneBackgroundProc(void* info) = 0 ;
-#endif
 } ;
 
-#if TARGET_API_MAC_OSX
-
 class wxMacUnicodeTextControl : public wxMacTextControl
 {
 public :
@@ -106,6 +94,4 @@ public :
     ControlEditTextSelectionRec m_selection ;
 };
 
-#endif // TARGET_API_MAC_OSX
-
 #endif // _WX_MAC_PRIVATE_MACTEXT_H_
index 6e7e3ead4509035909acd465a4451db37fb879e9..57581164ca6dae28d74417ab42251a384ed3132d 100644 (file)
 #include "wx/print.h"
 #include "wx/mac/private.h"
 
-#if TARGET_CARBON && !defined(__DARWIN__)
-#  include <PMApplication.h>
-#endif
-
-#ifndef __DARWIN__
-#  include "Printing.h"
-#endif
-
-#if !PM_USE_SESSION_APIS
-#error "only Carbon Printing Session API is supported"
-#endif
-
 class WXDLLEXPORT wxMacCarbonPrintData : public wxPrintNativeDataBase
 {
 public :