wxDirDialog now sorts its entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
|
||||
Welcome to wxWindows/Gtk,
|
||||
Welcome to wxWindows for GTK 1.0,
|
||||
|
||||
you have downloaded version 1.99 of the GTK+ port of C++ library
|
||||
wxWindows. Information on how to install can be found in the
|
||||
file INSTALL.txt, but if you cannot wait, this should work on
|
||||
you have downloaded the first beta version of the upcoming
|
||||
release 2.0 of the GTK+ 1.0 port of wxWindows library.
|
||||
|
||||
Information on how to install can be found in the file
|
||||
INSTALL.txt, but if you cannot wait, this should work on
|
||||
all systems
|
||||
|
||||
configure --without-threads
|
||||
|
@@ -268,6 +268,8 @@ void wxDirCtrl::OnExpandItem( const wxTreeEvent &event )
|
||||
}
|
||||
CreateItems(event.GetItem());
|
||||
wxEndBusyCursor();
|
||||
|
||||
SortChildren( event.GetItem() );
|
||||
};
|
||||
|
||||
|
||||
|
@@ -543,6 +543,7 @@ void wxListLineData::DoDraw( wxPaintDC *dc, bool hilight, bool paintBG )
|
||||
dc->DrawRectangle( m_bound_hilight.x, m_bound_hilight.y,
|
||||
m_bound_hilight.width, m_bound_hilight.height );
|
||||
}
|
||||
|
||||
if (m_mode == wxLC_REPORT)
|
||||
{
|
||||
wxString s;
|
||||
@@ -633,7 +634,8 @@ void wxListLineData::Draw( wxPaintDC *dc )
|
||||
|
||||
bool wxListLineData::IsInRect( int x, int y, const wxRectangle &rect )
|
||||
{
|
||||
return ((x >= rect.x) && (x <= rect.x+rect.width) && (y >= rect.y) && (y <= rect.y+rect.height));
|
||||
return ((x >= rect.x) && (x <= rect.x+rect.width) &&
|
||||
(y >= rect.y) && (y <= rect.y+rect.height));
|
||||
}
|
||||
|
||||
bool wxListLineData::IsHilighted( void )
|
||||
@@ -1531,10 +1533,6 @@ void wxListMainWindow::OnSize( wxSizeEvent &WXUNUSED(event) )
|
||||
/*
|
||||
We don't even allow the wxScrolledWindow::AdjustScrollbars() call
|
||||
|
||||
CalculatePositions();
|
||||
printf( "OnSize::Refresh.\n" );
|
||||
Refresh();
|
||||
event.Skip();
|
||||
*/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user