]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicbkg.cpp
added wxDateTime::GetDateOnly()
[wxWidgets.git] / src / generic / choicbkg.cpp
index 7216b152bc115a61d9ef755edcea1c6adbd397e5..6eb021982140d50bd6862c49ac9ece583655012c 100644 (file)
@@ -122,7 +122,6 @@ wxChoicebook::Create(wxWindow *parent,
 wxSize wxChoicebook::GetControllerSize() const
 {
     const wxSize sizeClient = GetClientSize(),
 wxSize wxChoicebook::GetControllerSize() const
 {
     const wxSize sizeClient = GetClientSize(),
-                 // sizeChoice = m_bookctrl->GetBestFittingSize();
                  sizeChoice = m_controlSizer->CalcMin();
 
     wxSize size;
                  sizeChoice = m_controlSizer->CalcMin();
 
     wxSize size;
@@ -258,7 +257,6 @@ wxChoicebook::InsertPage(size_t n,
     if ( selNew != wxNOT_FOUND )
         SetSelection(selNew);
 
     if ( selNew != wxNOT_FOUND )
         SetSelection(selNew);
 
-    InvalidateBestSize();
     return true;
 }
 
     return true;
 }