Fixed wxCheckBox on wxGTK (SetLabel called before widget creation),
wxListBox::GetSelection returning -1 now doesn't assert; wxProp improvements for wxGTK; parser.y includes <io.h> under VC++ to eliminate 'read' warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,10 +150,13 @@ bool wxResourceManager::Initialize()
|
||||
strcat(buf, "\\dialoged.ini");
|
||||
m_optionsResourceFilename = buf;
|
||||
#elif defined(__WXGTK__)
|
||||
char buf[500];
|
||||
wxGetHomeDir(buf);
|
||||
strcat(buf, "/.dialogedrc");
|
||||
/*
|
||||
wxString buf;
|
||||
wxGetHomeDir(&buf);
|
||||
buf += "/.dialogedrc";
|
||||
m_optionsResourceFilename = buf;
|
||||
*/
|
||||
m_optionsResourceFilename = ".dialoged.rc";
|
||||
#else
|
||||
#error "Unsupported platform."
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user