From: <ma...@us...> - 2003-12-29 19:02:18
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv19831 Modified Files: ServerWnd.cpp Log Message: Fixed GTK2 segfault on startup Index: ServerWnd.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/ServerWnd.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- ServerWnd.cpp 29 Dec 2003 09:52:38 -0000 1.56 +++ ServerWnd.cpp 29 Dec 2003 19:02:13 -0000 1.57 @@ -637,7 +637,7 @@ /* thus could get really cpu-hungry if there are large amount of lines here. */ /******************************************************************************/ void CServerWnd::OnAddLogLine(wxCommandEvent &event) { -#ifndef __WXMSW__ +#if defined(__WXGTK__) && !defined(__GTK2__) GetLog()->ShowPosition(log_line_count); log_line_count++; #endif |