1. added wxEnhMetaFileXXX classes
2. fixed/added copy/paste for metafiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,7 +179,8 @@ void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event )
|
||||
void wxPanel::OnSize(wxSizeEvent& WXUNUSED(event))
|
||||
{
|
||||
#if wxUSE_CONSTRAINTS
|
||||
if (GetAutoLayout()) Layout();
|
||||
if (GetAutoLayout())
|
||||
Layout();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -215,9 +216,9 @@ void wxPanel::OnFocus(wxFocusEvent& event)
|
||||
if (m_winLastFocused)
|
||||
{
|
||||
// It might happen that the window got reparented or no longer
|
||||
// accepts the focus.
|
||||
// accepts the focus.
|
||||
if ((m_winLastFocused->GetParent() == this) &&
|
||||
(m_winLastFocused->AcceptsFocus()))
|
||||
(m_winLastFocused->AcceptsFocus()))
|
||||
{
|
||||
m_winLastFocused->SetFocus();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user