Fix wxMac preprocessor check in wxWebView code.
Fix typo in "__WXMAC__" in wxWebView under wxOSX/Carbon and also in wxWebKitCtrl from where this code was copied. Closes #14352. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -702,7 +702,7 @@ wxString wxWebKitCtrl::RunScript(const wxString& javascript){
|
||||
}
|
||||
|
||||
void wxWebKitCtrl::OnSize(wxSizeEvent &event){
|
||||
#if defined(__WXMAC_) && wxOSX_USE_CARBON
|
||||
#if defined(__WXMAC__) && wxOSX_USE_CARBON
|
||||
// This is a nasty hack because WebKit seems to lose its position when it is embedded
|
||||
// in a control that is not itself the content view for a TLW.
|
||||
// I put it in OnSize because these calcs are not perfect, and in fact are basically
|
||||
|
Reference in New Issue
Block a user