use generic dialogs under Palm (generic.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1178,9 +1178,11 @@ bool wxGenericFileCtrl::SetFilename( const wxString& name )
|
||||
|
||||
void wxGenericFileCtrl::DoSetFilterIndex( int filterindex )
|
||||
{
|
||||
const wxString& str = (wx_static_cast(wxStringClientData *,
|
||||
m_choice->GetClientObject( filterindex )))
|
||||
->GetData();
|
||||
wxClientData *pcd = m_choice->GetClientObject( filterindex );
|
||||
if ( !pcd )
|
||||
return;
|
||||
|
||||
const wxString& str = ((wx_static_cast(wxStringClientData *, pcd))->GetData());
|
||||
m_list->SetWild( str );
|
||||
m_filterIndex = filterindex;
|
||||
if ( str.Left( 2 ) == wxT( "*." ) )
|
||||
|
||||
Reference in New Issue
Block a user