2007-06-05 12:10:51 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dialog_cvpcb_config.cpp
|
|
|
|
// Author: jean-pierre Charras
|
2009-04-21 17:56:27 +00:00
|
|
|
// Licence: gpl
|
2007-06-05 12:10:51 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
#include "fctsys.h"
|
|
|
|
#include <wx/tokenzr.h>
|
|
|
|
#include "appl_wxstruct.h"
|
|
|
|
#include "common.h"
|
|
|
|
#include "confirm.h"
|
|
|
|
#include "gestfich.h"
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
#include "cvpcb.h"
|
|
|
|
#include "cvstruct.h"
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
#include "protos.h"
|
2007-10-25 06:16:30 +00:00
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
#include "dialog_cvpcb_config.h"
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
DIALOG_CVPCB_CONFIG::DIALOG_CVPCB_CONFIG( WinEDA_CvpcbFrame* parent ) :
|
|
|
|
DIALOG_CVPCB_CONFIG_FBP( parent )
|
|
|
|
{
|
|
|
|
wxString title;
|
2009-04-23 15:02:18 +00:00
|
|
|
wxFileName fn = parent->m_NetlistFileName;
|
|
|
|
fn.SetExt( ProjectFileExtension );
|
2009-04-21 17:56:27 +00:00
|
|
|
|
|
|
|
m_Parent = parent;
|
|
|
|
m_Config = wxGetApp().m_EDA_CommonConfig;
|
2009-04-23 15:02:18 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
Init( );
|
2009-04-23 15:02:18 +00:00
|
|
|
title = _( "Project file: " ) + fn.GetFullPath();
|
2009-04-21 17:56:27 +00:00
|
|
|
SetTitle( title );
|
|
|
|
if( GetSizer() )
|
|
|
|
{
|
|
|
|
GetSizer()->SetSizeHints( this );
|
|
|
|
}
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::Init()
|
|
|
|
{
|
|
|
|
wxString msg;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
SetFocus();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
m_LibListChanged = false;
|
|
|
|
m_LibPathChanged = false;
|
2009-04-23 15:02:18 +00:00
|
|
|
m_UserLibDirBufferImg = m_Parent->m_UserLibraryPath;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-23 15:02:18 +00:00
|
|
|
m_ListLibr->InsertItems( m_Parent->m_ModuleLibNames, 0 );
|
|
|
|
m_ListEquiv->InsertItems( m_Parent->m_AliasLibNames, 0 );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-23 15:02:18 +00:00
|
|
|
m_TextHelpModulesFileName->SetValue( m_Parent->m_DocModulesFileName );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
// Load user libs paths:
|
|
|
|
wxStringTokenizer Token( m_UserLibDirBufferImg, wxT( ";\n\r" ) );
|
|
|
|
while( Token.HasMoreTokens() )
|
|
|
|
{
|
|
|
|
wxString path = Token.GetNextToken();
|
|
|
|
if( wxFileName::DirExists( path ) )
|
|
|
|
m_listUserPaths->Append( path );
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
// Display actual libraries paths:
|
|
|
|
wxPathList libpaths = wxGetApp().GetLibraryPathList();
|
|
|
|
for( unsigned ii = 0; ii < libpaths.GetCount(); ii++ )
|
|
|
|
{
|
|
|
|
m_DefaultLibraryPathslistBox->Append( libpaths[ii] );
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-05 19:26:52 +00:00
|
|
|
// select the first path after the current path project
|
2009-04-21 17:56:27 +00:00
|
|
|
if( libpaths.GetCount() > 1 )
|
|
|
|
m_DefaultLibraryPathslistBox->Select( 1 );
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnCancelClick( wxCommandEvent& event )
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2009-04-21 17:56:27 +00:00
|
|
|
// Recreate the user lib path
|
|
|
|
if( m_LibPathChanged )
|
2007-10-27 12:24:09 +00:00
|
|
|
{
|
2009-04-21 17:56:27 +00:00
|
|
|
for( unsigned ii = 0; ii < m_ListLibr->GetCount(); ii++ )
|
|
|
|
wxGetApp().RemoveLibraryPath( m_listUserPaths->GetString( ii ) );
|
|
|
|
|
2009-04-23 15:02:18 +00:00
|
|
|
wxGetApp().InsertLibraryPath( m_Parent->m_UserLibraryPath, 1 );
|
2007-10-27 12:24:09 +00:00
|
|
|
}
|
2009-04-23 15:02:18 +00:00
|
|
|
|
|
|
|
EndModal( wxID_CANCEL );
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnOkClick( wxCommandEvent& event )
|
2008-08-01 17:41:51 +00:00
|
|
|
{
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_DocModulesFileName = m_TextHelpModulesFileName->GetValue();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
// Recreate the user lib path
|
|
|
|
if( m_LibPathChanged )
|
|
|
|
{
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_UserLibraryPath.Empty();
|
2009-04-21 17:56:27 +00:00
|
|
|
for( unsigned ii = 0; ii < m_listUserPaths->GetCount(); ii++ )
|
|
|
|
{
|
|
|
|
if( ii > 0 )
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_UserLibraryPath << wxT( ";" );
|
|
|
|
m_Parent->m_UserLibraryPath << m_listUserPaths->GetString( ii );
|
2009-04-21 17:56:27 +00:00
|
|
|
}
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-05 19:26:52 +00:00
|
|
|
// Set new active library list if the lib list of if default path list
|
|
|
|
// was modified
|
2009-04-21 17:56:27 +00:00
|
|
|
if( m_LibListChanged || m_LibPathChanged )
|
|
|
|
{
|
|
|
|
// Recreate lib list
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_ModuleLibNames.Clear();
|
2009-04-21 17:56:27 +00:00
|
|
|
for( unsigned ii = 0; ii < m_ListLibr->GetCount(); ii++ )
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_ModuleLibNames.Add( m_ListLibr->GetString( ii ) );
|
2009-04-21 17:56:27 +00:00
|
|
|
|
|
|
|
// Recreate equ list
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_AliasLibNames.Clear();
|
2009-04-21 17:56:27 +00:00
|
|
|
for( unsigned ii = 0; ii < m_ListEquiv->GetCount(); ii++ )
|
2009-04-23 15:02:18 +00:00
|
|
|
m_Parent->m_AliasLibNames.Add( m_ListEquiv->GetString( ii ) );
|
2009-04-21 17:56:27 +00:00
|
|
|
|
2009-04-23 15:02:18 +00:00
|
|
|
LoadFootprintFiles( m_Parent->m_ModuleLibNames,
|
|
|
|
m_Parent->m_footprints );
|
2009-08-20 11:44:06 +00:00
|
|
|
m_Parent->BuildFOOTPRINTS_LISTBOX();
|
2009-04-21 17:56:27 +00:00
|
|
|
}
|
2009-04-23 15:02:18 +00:00
|
|
|
|
|
|
|
m_Parent->SaveProjectFile( m_Parent->m_NetlistFileName.GetFullPath() );
|
|
|
|
EndModal( wxID_OK );
|
2009-04-21 17:56:27 +00:00
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnCloseWindow( wxCloseEvent& event )
|
|
|
|
{
|
|
|
|
EndModal( 0 );
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
/* Remove a library to the library list.
|
2009-11-05 19:26:52 +00:00
|
|
|
* The real list (g_LibName_List) is not changed, so the change can be canceled
|
2009-04-21 17:56:27 +00:00
|
|
|
*/
|
2009-11-05 19:26:52 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnRemoveLibClick( wxCommandEvent& event )
|
2009-04-21 17:56:27 +00:00
|
|
|
{
|
|
|
|
int ii;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxListBox * list = m_ListEquiv;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( event.GetId() == ID_REMOVE_LIB )
|
|
|
|
list = m_ListLibr;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
ii = list->GetSelection();
|
|
|
|
if( ii < 0 )
|
|
|
|
return;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
list->Delete( ii );
|
|
|
|
m_LibListChanged = TRUE;
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
/* Insert or add a library to the library list:
|
|
|
|
* The new library is put in list before (insert button) the selection,
|
|
|
|
* or added (add button) to end of list
|
2009-11-05 19:26:52 +00:00
|
|
|
* The real list (g_LibName_List) is not changed, so the change can be canceled
|
2009-04-21 17:56:27 +00:00
|
|
|
*/
|
2009-11-05 19:26:52 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event )
|
2009-04-21 17:56:27 +00:00
|
|
|
{
|
|
|
|
int ii;
|
|
|
|
wxString libfilename, wildcard;
|
|
|
|
wxFileName fn;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
bool insert = false;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( (event.GetId() == ID_INSERT_EQU) || (event.GetId() == ID_INSERT_LIB) )
|
|
|
|
insert = true;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-23 15:02:18 +00:00
|
|
|
wildcard = FootprintAliasFileWildcard;
|
2009-04-21 17:56:27 +00:00
|
|
|
wxListBox * list = m_ListEquiv;
|
|
|
|
if( (event.GetId() == ID_ADD_LIB) || (event.GetId() == ID_INSERT_LIB) )
|
|
|
|
{
|
|
|
|
list = m_ListLibr;
|
2009-04-23 15:02:18 +00:00
|
|
|
wildcard = ModuleFileWildcard;
|
2009-04-21 17:56:27 +00:00
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
ii = list->GetSelection();
|
|
|
|
if( ii == wxNOT_FOUND )
|
|
|
|
ii = 0;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxString libpath;
|
|
|
|
libpath = m_DefaultLibraryPathslistBox->GetStringSelection();
|
|
|
|
if( libpath.IsEmpty() )
|
|
|
|
libpath = wxGetApp().ReturnLastVisitedLibraryPath();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxFileDialog FilesDialog( this, _( "Footprint library files:" ), libpath,
|
|
|
|
wxEmptyString, wildcard,
|
|
|
|
wxFD_DEFAULT_STYLE | wxFD_MULTIPLE );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( FilesDialog.ShowModal() != wxID_OK )
|
|
|
|
return;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxArrayString Filenames;
|
|
|
|
FilesDialog.GetPaths( Filenames );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
for( unsigned jj = 0; jj < Filenames.GetCount(); jj++ )
|
|
|
|
{
|
|
|
|
fn = Filenames[jj];
|
|
|
|
if( jj == 0 )
|
|
|
|
wxGetApp().SaveLastVisitedLibraryPath( fn.GetPath() );
|
|
|
|
|
|
|
|
/* If the library path is already in the library search paths
|
|
|
|
* list, just add the library name to the list. Otherwise, add
|
|
|
|
* the library name with the full or relative path.
|
|
|
|
* the relative path, when possible is preferable,
|
2009-04-23 15:02:18 +00:00
|
|
|
* because it preserve use of default libraries paths, when the path
|
|
|
|
* is a sub path of these default paths
|
2009-04-21 17:56:27 +00:00
|
|
|
*/
|
2009-10-23 14:35:24 +00:00
|
|
|
libfilename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( fn.GetFullPath() );
|
|
|
|
// Remove extension:
|
|
|
|
fn = libfilename;
|
|
|
|
fn.SetExt(wxEmptyString);
|
|
|
|
libfilename = fn.GetFullPath();
|
2009-04-21 17:56:27 +00:00
|
|
|
|
2009-11-05 19:26:52 +00:00
|
|
|
// Add or insert new library name, if not already in list
|
2009-04-21 17:56:27 +00:00
|
|
|
if( list->FindString( libfilename, fn.IsCaseSensitive() ) == wxNOT_FOUND )
|
|
|
|
{
|
|
|
|
m_LibListChanged = TRUE;
|
|
|
|
if( ! insert )
|
|
|
|
list->Append( libfilename );
|
|
|
|
else
|
|
|
|
list->Insert( libfilename, ii++ );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
wxString msg = wxT( "<" ) + libfilename + wxT( "> : " ) +
|
|
|
|
_( "Library already in use" );
|
|
|
|
DisplayError( this, msg );
|
|
|
|
}
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnAddOrInsertPath( wxCommandEvent& event )
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2009-04-21 17:56:27 +00:00
|
|
|
wxString path = wxGetApp().ReturnLastVisitedLibraryPath();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-11-05 19:26:52 +00:00
|
|
|
bool select = EDA_DirectorySelector( _( "Default Path for Libraries" ),
|
|
|
|
path,
|
2009-04-21 17:56:27 +00:00
|
|
|
wxDD_DEFAULT_STYLE,
|
2009-11-05 19:26:52 +00:00
|
|
|
this,
|
2009-04-21 17:56:27 +00:00
|
|
|
wxDefaultPosition );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( !select )
|
|
|
|
return;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( !wxFileName::DirExists( path ) ) // Should not occurs
|
|
|
|
return;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
// Add or insert path if not already in list
|
|
|
|
if( m_listUserPaths->FindString( path ) == wxNOT_FOUND )
|
|
|
|
{
|
|
|
|
int ipos = m_listUserPaths->GetCount();
|
|
|
|
if( event.GetId() == ID_INSERT_PATH )
|
|
|
|
{
|
|
|
|
if( ipos )
|
|
|
|
ipos--;
|
|
|
|
int jj = m_listUserPaths->GetSelection();
|
|
|
|
if( jj >= 0 )
|
|
|
|
ipos = jj;
|
|
|
|
}
|
2010-02-05 15:59:33 +00:00
|
|
|
|
|
|
|
// Ask the user if this is a relative path
|
|
|
|
int diag = wxMessageBox(
|
|
|
|
_( "Use a relative path?" ),
|
|
|
|
_( "Path type" ),
|
|
|
|
wxYES_NO | wxICON_QUESTION, this );
|
|
|
|
|
|
|
|
if( diag == wxYES )
|
|
|
|
{ // Make it relative
|
|
|
|
wxFileName fn = path;
|
|
|
|
fn.MakeRelativeTo( wxT(".") );
|
|
|
|
path = fn.GetPathWithSep() + fn.GetFullName();
|
|
|
|
}
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
m_listUserPaths->Insert( path, ipos );
|
|
|
|
m_LibPathChanged = true;
|
|
|
|
wxGetApp().InsertLibraryPath( path, ipos + 1 );
|
|
|
|
|
|
|
|
// Display actual libraries paths:
|
|
|
|
wxPathList libpaths = wxGetApp().GetLibraryPathList();
|
|
|
|
m_DefaultLibraryPathslistBox->Clear();
|
|
|
|
for( unsigned ii = 0; ii < libpaths.GetCount(); ii++ )
|
|
|
|
{
|
|
|
|
m_DefaultLibraryPathslistBox->Append( libpaths[ii] );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
DisplayError( this, _( "Path already in use" ) );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxGetApp().SaveLastVisitedLibraryPath( path );
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnRemoveUserPath( wxCommandEvent& event )
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2009-04-21 17:56:27 +00:00
|
|
|
int ii = m_listUserPaths->GetSelection();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( ii < 0 )
|
|
|
|
ii = m_listUserPaths->GetCount() - 1;
|
|
|
|
if( ii >= 0 )
|
|
|
|
{
|
|
|
|
wxGetApp().RemoveLibraryPath( m_listUserPaths->GetStringSelection() );
|
|
|
|
m_listUserPaths->Delete( ii );
|
|
|
|
m_LibPathChanged = true;
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
// Display actual libraries paths:
|
|
|
|
wxPathList libpaths = wxGetApp().GetLibraryPathList();
|
|
|
|
m_DefaultLibraryPathslistBox->Clear();
|
|
|
|
for( unsigned ii = 0; ii < libpaths.GetCount(); ii++ )
|
|
|
|
{
|
|
|
|
m_DefaultLibraryPathslistBox->Append( libpaths[ii] );
|
|
|
|
}
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
void DIALOG_CVPCB_CONFIG::OnBrowseModDocFile( wxCommandEvent& event )
|
2007-06-05 12:10:51 +00:00
|
|
|
{
|
2009-04-23 15:02:18 +00:00
|
|
|
wxString FullFileName;
|
2009-04-21 17:56:27 +00:00
|
|
|
wxString docpath, filename;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
docpath = wxGetApp().ReturnLastVisitedLibraryPath( wxT( "doc" ) );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
wxFileDialog FilesDialog( this, _( "Footprint document file:" ), docpath,
|
2009-04-23 15:02:18 +00:00
|
|
|
wxEmptyString, PdfFileWildcard,
|
|
|
|
wxFD_DEFAULT_STYLE | wxFD_FILE_MUST_EXIST );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
if( FilesDialog.ShowModal() != wxID_OK )
|
|
|
|
return;
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
FullFileName = FilesDialog.GetPath();
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
/* If the path is already in the library search paths
|
|
|
|
* list, just add the library name to the list. Otherwise, add
|
|
|
|
* the library name with the full or relative path.
|
|
|
|
* the relative path, when possible is preferable,
|
2009-04-23 15:02:18 +00:00
|
|
|
* because it preserve use of default libraries paths, when the path is
|
|
|
|
* a sub path of these default paths
|
2009-04-21 17:56:27 +00:00
|
|
|
*/
|
|
|
|
wxFileName fn = FullFileName;
|
|
|
|
wxGetApp().SaveLastVisitedLibraryPath( fn.GetPath() );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2009-04-21 17:56:27 +00:00
|
|
|
filename = wxGetApp().ReturnFilenameWithRelativePathInLibPath( FullFileName );
|
|
|
|
m_TextHelpModulesFileName->SetValue( filename );
|
2007-06-05 12:10:51 +00:00
|
|
|
}
|