]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
SN: Disable some features not supported by EMX (#ifndef __EMX__)
[wxWidgets.git] / src / generic / panelg.cpp
index a6521927222eea87890260052360ab19e6f5193c..e2b2c838e70b070074c8dd8546988694d48bdc1a 100644 (file)
@@ -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;