Changeset 86071 in webkit
- Timestamp:
- May 9, 2011 11:23:24 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86070 r86071 1 2011-05-09 Robin Dunn <robin@alldunn.com> 2 3 Reviewed by Kevin Ollivier. 4 5 [wx] Update the popup menu code to grab the native control and initialize the 6 event handler properly. 7 8 https://bugs.webkit.org/show_bug.cgi?id=60482 9 10 * platform/wx/PopupMenuWx.cpp: 11 (WebCore::PopupMenuWx::PopupMenuWx): 12 (WebCore::PopupMenuWx::~PopupMenuWx): 13 (WebCore::PopupMenuWx::show): 14 1 15 2011-05-09 Robin Dunn <robin@alldunn.com> 2 16 -
trunk/Source/WebCore/platform/wx/PopupMenuWx.cpp
r68622 r86071 27 27 #include "Frame.h" 28 28 #include "FrameView.h" 29 #include "HostWindow.h" 29 30 #include "PopupMenuClient.h" 30 31 #include "PlatformString.h" … … 66 67 , m_menu(0) 67 68 { 68 PopupMenuEventHandler m_popupHandler(client);69 m_popupHandler = new PopupMenuEventHandler(client); 69 70 } 70 71 71 72 PopupMenuWx::~PopupMenuWx() 72 73 { 74 delete m_popupHandler; 73 75 delete m_menu; 74 76 } … … 84 86 delete m_menu; 85 87 ASSERT(client()); 88 ASSERT(v); 86 89 87 wxWindow* nativeWin = v-> platformWidget();90 wxWindow* nativeWin = v->hostWindow()->platformPageClient(); 88 91 89 92 if (nativeWin) {
Note: See TracChangeset
for help on using the changeset viewer.