wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms

as opposed to wxBORDER_NONE which may or may not show a border, depending on control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-09-18 14:15:27 +00:00
parent 2fda87f1f7
commit 3a5b0aa5e0
9 changed files with 84 additions and 77 deletions

View File

@@ -87,13 +87,20 @@ Major new features in 2.8 release
wxDirPickerCtrl, wxFilePickerCtrl, wxFontPickerCtrl, wxCollapsiblePane, wxDirPickerCtrl, wxFilePickerCtrl, wxFontPickerCtrl, wxCollapsiblePane,
wxSearchCtrl, wxAboutBox, wxTreebook, tar streams. wxSearchCtrl, wxAboutBox, wxTreebook, tar streams.
2.8.6 2.8.6
----- -----
All (GUI): All (GUI):
- Add support for reading alpha data from TIFF images - Added an optimization to UI updates on idle, by only updating when the window
is shown.
- Multiple centre panes in wxAUI can now be resized.
- Add support for reading alpha data from TIFF images.
wxMSW:
- Fixed a bug with a spurious border appearing on wxStatusBar under Windows XP/Vista.
2.8.5 2.8.5
----- -----

View File

@@ -1111,7 +1111,7 @@ void wxWindowDFB::HandleKeyEvent(const wxDFBWindowEvent& event_)
void wxWindowDFB::OnInternalIdle() void wxWindowDFB::OnInternalIdle()
{ {
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -2806,7 +2806,7 @@ void wxWindowGTK::OnInternalIdle()
} }
} }
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -2958,7 +2958,7 @@ void wxWindowGTK::OnInternalIdle()
} }
} }
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -2815,7 +2815,7 @@ void wxWindowMac::OnInternalIdle()
{ {
// This calls the UI-update mechanism (querying windows for // This calls the UI-update mechanism (querying windows for
// menu/toolbar/control state information) // menu/toolbar/control state information)
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -1225,6 +1225,6 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
void wxWindowMGL::OnInternalIdle() void wxWindowMGL::OnInternalIdle()
{ {
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -1644,7 +1644,7 @@ void wxWindow::OnInternalIdle()
{ {
// This calls the UI-update mechanism (querying windows for // This calls the UI-update mechanism (querying windows for
// menu/toolbar/control state information) // menu/toolbar/control state information)
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -1479,7 +1479,7 @@ void wxWindowMSW::OnInternalIdle()
} }
#endif // !HAVE_TRACKMOUSEEVENT #endif // !HAVE_TRACKMOUSEEVENT
if (wxUpdateUIEvent::CanUpdate(this)) if (wxUpdateUIEvent::CanUpdate(this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
} }

View File

@@ -1308,7 +1308,7 @@ void wxWindowX11::OnInternalIdle()
// This calls the UI-update mechanism (querying windows for // This calls the UI-update mechanism (querying windows for
// menu/toolbar/control state information) // menu/toolbar/control state information)
if (wxUpdateUIEvent::CanUpdate((wxWindow*) this)) if (wxUpdateUIEvent::CanUpdate((wxWindow*) this) && IsShown())
UpdateWindowUI(wxUPDATE_UI_FROMIDLE); UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
// Set the input focus if couldn't do it before // Set the input focus if couldn't do it before