]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/propdlg.cpp
Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor clean...
[wxWidgets.git] / src / generic / propdlg.cpp
index 02c23b3a8edd3f40c95fc45c68419f6b1c7d277a..5b1fa5d1d5ca7e512b73dd194fcaad197212cfba 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
-#include "wx/defs.h"
-
 #if wxUSE_BOOKCTRL
 
 #ifndef WX_PRECOMP
@@ -145,7 +143,7 @@ wxBookCtrlBase* wxPropertySheetDialog::CreateBookCtrl()
 #endif
 
     wxBookCtrlBase* bookCtrl = NULL;
-    
+
 #if wxUSE_NOTEBOOK
     if (GetSheetStyle() & wxPROPSHEET_NOTEBOOK)
         bookCtrl = new wxNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style );
@@ -169,10 +167,10 @@ wxBookCtrlBase* wxPropertySheetDialog::CreateBookCtrl()
 #endif
     if (!bookCtrl)
         bookCtrl = new wxBookCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, style );
-    
+
     if (GetSheetStyle() & wxPROPSHEET_SHRINKTOFIT)
         bookCtrl->SetFitToCurrentPage(true);
-    
+
     return bookCtrl;
 }
 
@@ -211,7 +209,7 @@ void wxPropertySheetDialog::OnActivate(wxActivateEvent& event)
 void wxPropertySheetDialog::OnIdle(wxIdleEvent& event)
 {
     event.Skip();
-    
+
     if ((GetSheetStyle() & wxPROPSHEET_SHRINKTOFIT) && GetBookCtrl())
     {
         int sel = GetBookCtrl()->GetSelection();
@@ -228,4 +226,3 @@ void wxPropertySheetDialog::OnIdle(wxIdleEvent& event)
 }
 
 #endif // wxUSE_BOOKCTRL
-