Changes for removing DefaultEncodingIsPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -228,15 +228,6 @@ void wxPyApp::OnAssert(const wxChar *file,
|
||||
#endif
|
||||
|
||||
|
||||
/*static*/
|
||||
bool wxPyApp::GetMacDefaultEncodingIsPC() {
|
||||
#ifdef __WXMAC__
|
||||
return s_macDefaultEncodingIsPC;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*static*/
|
||||
bool wxPyApp::GetMacSupportPCMenuShortcuts() {
|
||||
#ifdef __WXMAC__
|
||||
@@ -282,13 +273,6 @@ wxString wxPyApp::GetMacHelpMenuTitleName() {
|
||||
#endif
|
||||
}
|
||||
|
||||
/*static*/
|
||||
void wxPyApp::SetMacDefaultEncodingIsPC(bool val) {
|
||||
#ifdef __WXMAC__
|
||||
s_macDefaultEncodingIsPC = val;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*static*/
|
||||
void wxPyApp::SetMacSupportPCMenuShortcuts(bool val) {
|
||||
#ifdef __WXMAC__
|
||||
@@ -1689,6 +1673,10 @@ long wxPyGetWinHandle(wxWindow* win) {
|
||||
return (long)win->GetHandle();
|
||||
#endif
|
||||
|
||||
#ifdef __WXAC__
|
||||
return (long)win->GetHandle();
|
||||
#endif
|
||||
|
||||
// Find and return the actual X-Window.
|
||||
#ifdef __WXGTK__
|
||||
if (win->m_wxwindow) {
|
||||
|
Reference in New Issue
Block a user