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:
Robert Roebling
1998-12-18 17:05:57 +00:00
parent aeeb6a44d1
commit 63852e7836
3 changed files with 374 additions and 372 deletions

View File

@@ -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 you have downloaded the first beta version of the upcoming
wxWindows. Information on how to install can be found in the release 2.0 of the GTK+ 1.0 port of wxWindows library.
file INSTALL.txt, but if you cannot wait, this should work on
Information on how to install can be found in the file
INSTALL.txt, but if you cannot wait, this should work on
all systems all systems
configure --without-threads configure --without-threads

View File

@@ -268,6 +268,8 @@ void wxDirCtrl::OnExpandItem( const wxTreeEvent &event )
} }
CreateItems(event.GetItem()); CreateItems(event.GetItem());
wxEndBusyCursor(); wxEndBusyCursor();
SortChildren( event.GetItem() );
}; };

View File

@@ -543,6 +543,7 @@ void wxListLineData::DoDraw( wxPaintDC *dc, bool hilight, bool paintBG )
dc->DrawRectangle( m_bound_hilight.x, m_bound_hilight.y, dc->DrawRectangle( m_bound_hilight.x, m_bound_hilight.y,
m_bound_hilight.width, m_bound_hilight.height ); m_bound_hilight.width, m_bound_hilight.height );
} }
if (m_mode == wxLC_REPORT) if (m_mode == wxLC_REPORT)
{ {
wxString s; wxString s;
@@ -633,7 +634,8 @@ void wxListLineData::Draw( wxPaintDC *dc )
bool wxListLineData::IsInRect( int x, int y, const wxRectangle &rect ) 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 ) bool wxListLineData::IsHilighted( void )
@@ -1531,10 +1533,6 @@ void wxListMainWindow::OnSize( wxSizeEvent &WXUNUSED(event) )
/* /*
We don't even allow the wxScrolledWindow::AdjustScrollbars() call We don't even allow the wxScrolledWindow::AdjustScrollbars() call
CalculatePositions();
printf( "OnSize::Refresh.\n" );
Refresh();
event.Skip();
*/ */
} }