Small Tex2RTF fixes; wxMotif compile fixes (motif.inc, wxCheckListBox);
wxMSW wxWindow::IsShown fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -536,8 +536,8 @@ bool WriteHPJ(char *filename)
|
||||
if (!helpTitle)
|
||||
helpTitle = "Untitled";
|
||||
|
||||
char *thePath = wxPathOnly(InputFile);
|
||||
if (!thePath)
|
||||
wxString thePath = wxPathOnly(InputFile);
|
||||
if (thePath.IsEmpty())
|
||||
thePath = ".";
|
||||
fprintf(fd, "[OPTIONS]\n");
|
||||
fprintf(fd, "BMROOT=%s ; Assume that bitmaps are where the source is\n", thePath);
|
||||
|
@@ -647,7 +647,7 @@ void ChooseOutputFile(bool force)
|
||||
char extensionBuf[10];
|
||||
char wildBuf[10];
|
||||
strcpy(wildBuf, "*.");
|
||||
char *path = NULL;
|
||||
wxString path;
|
||||
if (OutputFile)
|
||||
path = wxPathOnly(OutputFile);
|
||||
else if (InputFile)
|
||||
|
Reference in New Issue
Block a user