Set wxAUI_MGR_RECTANGLE_HINT on Unix as Transparent and Venitian don't work here. I'm not sure if this is the fault of WindowMaker or GTK eventaully I'll try some other WMs and see what happens. This fixes floating windows and dragging them back/repositioning.

Originally committed to SVN as r3184.
This commit is contained in:
Amar Takhar 2009-07-20 03:32:21 +00:00
parent 77bacc0e53
commit e7f2dc00f7

View file

@ -127,7 +127,11 @@ ASSDrawFrame::ASSDrawFrame( wxApp *app, const wxString& title, const wxPoint& po
{ {
m_app = app; m_app = app;
m_mgr.SetManagedWindow(this); m_mgr.SetManagedWindow(this);
#ifndef __UNIX__
m_mgr.SetFlags(m_mgr.GetFlags() | wxAUI_MGR_ALLOW_ACTIVE_PANE); m_mgr.SetFlags(m_mgr.GetFlags() | wxAUI_MGR_ALLOW_ACTIVE_PANE);
#else
m_mgr.SetFlags(wxAUI_MGR_ALLOW_FLOATING | wxAUI_MGR_ALLOW_ACTIVE_PANE | wxAUI_MGR_RECTANGLE_HINT);
#endif
// set the frame icon // set the frame icon
SetIcon(wxICON(appico)); SetIcon(wxICON(appico));