]> git.saurik.com Git - wxWidgets.git/commitdiff
indentation fixes
authorPaul Cornett <paulcor@bullseye.com>
Sat, 9 Dec 2006 19:49:40 +0000 (19:49 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 9 Dec 2006 19:49:40 +0000 (19:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/clipbrd.cpp
src/msw/font.cpp
src/msw/listctrl.cpp

index ee67b677fd694f50b2c6e0ebe782bf4223d27574..4a1518b0ff247fe687f53a67f20627cde559030b 100644 (file)
@@ -555,10 +555,10 @@ void wxClipboard::Clear()
         if (S_OK == hr)
         {
             hr = OleSetClipboard(NULL);
-    if ( FAILED(hr) )
-    {
-        wxLogApiError(wxT("OleSetClipboard(NULL)"), hr);
-    }
+            if ( FAILED(hr) )
+            {
+                wxLogApiError(wxT("OleSetClipboard(NULL)"), hr);
+            }
         }
         m_lastDataObject = NULL;
     }
@@ -576,14 +576,14 @@ bool wxClipboard::Flush()
         if (S_OK == hr)
         {
             hr = OleFlushClipboard();
-    if ( FAILED(hr) )
-    {
-        wxLogApiError(wxT("OleFlushClipboard"), hr);
+            if ( FAILED(hr) )
+            {
+                wxLogApiError(wxT("OleFlushClipboard"), hr);
 
-        return false;
-    }
-        return true;
-    }
+                return false;
+            }
+            return true;
+        }
     }
     return false;
 #else // !wxUSE_OLE_CLIPBOARD
index 5534e9ecd988b3c0c8a28260c0c77a5731b69abc..5fa73ec64464ffdbd3275beebe904e496776abf1 100644 (file)
@@ -262,7 +262,7 @@ public:
         if ( m_nativeFontInfoOk )
             return m_nativeFontInfo.SetFaceName(faceName);
 
-            m_faceName = faceName;
+        m_faceName = faceName;
         return true;
     }
 
index 1f2237b98037ee7f9044406423ba9ec60b7b0d66..6f3a70e1366a2574ba3bd5d8c08680548d09cc26 100644 (file)
@@ -1893,7 +1893,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
     }
     else
 #endif // defined(HDN_BEGINTRACKA)
-        if ( nmhdr->hwndFrom == GetHwnd() )
+    if ( nmhdr->hwndFrom == GetHwnd() )
     {
         // almost all messages use NM_LISTVIEW
         NM_LISTVIEW *nmLV = (NM_LISTVIEW *)nmhdr;