On Tue, 01 Apr 2008 19:00:55 +0200, Franz Steinhäusler <[email protected]> wrote:
>On Tue, 01 Apr 2008 09:51:02 -0700, Robin Dunn <[email protected]> wrote:
>
>>Franz Steinhäusler wrote:
>>> On Tue, 01 Apr 2008 07:52:36 -0700, Robin Dunn <[email protected]> wrote:
>>>
>>>> Franz Steinhäusler wrote:
>>>>> The SetSashBorder is not here anymore (I just discovered
>>>>> on wxpyhton 2.9.0.0; in 2.8.3 it was still available)
>>>>> So I had to comment that out.
>>>>>
>>>>> #self.document.SetSashBorder(wx.SASH_BOTTOM, True)
>>>>> I'm not sure, what it does. Was it intended to be removed.
>>>>> Is there a replacement for that or is it simply not needed?
>>>> Which class and/or module?
>>>
>>> self.document was an instance of a class, which derived from wx.SashWindow.
>>
>>In 2.8 SetSashBorder and HasBorder are inside of a 2.6 compatibility
>>#ifdef, meaning that they are only present when the 2.6 compatibility
>>flag is turned on. There is also a comment there saying, "This value is
>>unused in wxSashWindow." Our policy is to remove old (older than the
>>current stable release series) compatibility code when a new development
>>cycle is started.
>
>Aha, all is clear, thanks.
1) When calling, self.document.SetSashVisible(wx.SASH_LEFT, True), I get on gtk:
(python:5383): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `height >= -1' failed
Some more things:
this gtk is very annoying. On windows xp, most programming code works as expected.
2) But here on gtk, I have (its the most nerving thing), it crashes sometimes
hard with segmentation fault, when copying or cut text in stc:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210751312 (LWP 5383)]
0xb74162ed in wxClipboard::GTKOnSelectionReceived ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
(gdb) bt
#0 0xb74162ed in wxClipboard::GTKOnSelectionReceived ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
#1 0xb7416cc9 in selection_received ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
#2 0xb6dac31d in _gtk_marshal_VOID__BOXED_UINT ()
from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb69f1772 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4 0xb6a02323 in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x09037188 in ?? ()
3) every time, I want to open a file with utf-8 (cp1252) encoding, where german umlauts are in,
on windows it works fine, but on gtk, it has an unicode error.
4) When I want run in a panel with python-prompt with utf8 encoding, my app also crashes without warning (as in 2))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210456400 (LWP 5462)]
0xb72928fa in wxMutex::Lock () from /usr/local/lib/libwx_baseu-2.9.so.0
(gdb) bt
#0 0xb72928fa in wxMutex::Lock () from /usr/local/lib/libwx_baseu-2.9.so.0
#1 0xb7455bdb in wxApp::WakeUpIdle ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
#2 0xb7455619 in wx_emission_hook ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
#3 0xb6a4a0fd in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0xbfd7759c in ?? ()
#5 0x00000002 in ?? ()
#6 0xbfd7768c in ?? ()
#7 0xb772099c in wx_add_idle_hooks()::sig_id ()
from /usr/local/lib/libwx_gtk2u_core-2.9.so.0
#8 0xbfd7759c in ?? ()
#9 0x08ad19d8 in ?? ()
#10 0x00000001 in ?? ()
#11 0xb6a699b8 in g_param_spec_types () from /usr/lib/libgobject-2.0.so.0
#12 0xb6a699b8 in g_param_spec_types () from /usr/lib/libgobject-2.0.so.0
#13 0xbfd77594 in ?? ()
#14 0x00000000 in ?? ()
--
Franz Steinhaeusler
_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev