From 400e8540ad779d27fbabde645ad88d4b72c5bfee Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 16 Nov 2007 20:58:12 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private/mactext.h | 14 -------------- include/wx/mac/carbon/private/print.h | 12 ------------ 2 files changed, 26 deletions(-) diff --git a/include/wx/mac/carbon/private/mactext.h b/include/wx/mac/carbon/private/mactext.h index ab3257ba0d..36820b10f9 100644 --- a/include/wx/mac/carbon/private/mactext.h +++ b/include/wx/mac/carbon/private/mactext.h @@ -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_ diff --git a/include/wx/mac/carbon/private/print.h b/include/wx/mac/carbon/private/print.h index 6e7e3ead45..57581164ca 100644 --- a/include/wx/mac/carbon/private/print.h +++ b/include/wx/mac/carbon/private/print.h @@ -16,18 +16,6 @@ #include "wx/print.h" #include "wx/mac/private.h" -#if TARGET_CARBON && !defined(__DARWIN__) -# include -#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 : -- 2.45.2