Implement SetShape() for wxPopupWindow in wxGTK.

Move SetShape() implementation from wxTopLevelWindow to wxNonOwnedWindow so
that wxPopupWindow, which also inherits from the latter, could use it as well.

This makes it possible to have popup windows with irregular shapes in wxGTK as
well as in wxMSW and wxOSX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-10-13 12:45:56 +00:00
parent b39badac11
commit a82afab363
7 changed files with 152 additions and 52 deletions

View File

@@ -1094,6 +1094,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/font.cpp
src/gtk/sockgtk.cpp
src/gtk/minifram.cpp
src/gtk/nonownedwnd.cpp
src/gtk/pen.cpp
src/gtk/popupwin.cpp
src/gtk/private.cpp
@@ -1131,6 +1132,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/font.h
wx/gtk/filehistory.h
wx/gtk/minifram.h
wx/gtk/nonownedwnd.h
wx/gtk/pen.h
wx/gtk/popupwin.h
wx/gtk/private/win_gtk.h