RE: [SE|PY-macdev] Continuing OS X compiling
Brought to you by:
sephiroth_tmm
From: Alessandro C. *sephiroth* <wis...@se...> - 2004-08-28 15:57:19
|
::Actually I like the solution with this Listbook, it's quite ::similar to the multiline tabs because you also see the ::pictures. So I wouldn't prefer a combobox. But it would be ::good to add an image for the Files panel too, because without ::the name of this panel ("Files") doesn't get written on the ::same horizontal line as the other names do, but a little bit ::more above. And that doesn't look ok ;-) Ok, I just added an icon for the File panel. ::Ok, i could try that out. Can you tell me how/where you bind ::the split pane dragging event and if it's possible to ::"manually" raise this event ? The Bind command is on line 274 self.notebook.Bind(wx.EVT_NOTEBOOK_PAGE_CHANGED, self.OnPageChanged) And the method called is OnPageChanged ::And this is the error message when this line isn't commented: :: File "/usr/local/src/SciTE/Editor.py", line 276, in __init__ :: self.SetCodePage(stc.STC_CP_UTF8) :: File ::"//Library/Frameworks/Python.framework/Versions/2.3/lib/python ::2.3/site- :: packages/wx/stc.py", line 1069, in SetCodePage :: return _stc.StyledTextCtrl_SetCodePage(*args, **kwargs) :: wx._core.PyAssertionError: C++ assertion "codePage != ::wxSTC_CP_UTF8" :: failed in /usr/local/src/wxWidgets/contrib/src/stc/stc.cpp(423): :: wxSTC_CP_UTF8 may not be used when wxUSE_UNICODE is off. This seems really a wxPython MAC build issue. Can you try to look at the wxPython archives to look for something about compiling this under mac? www.wxpython.org ::I did: This binding is called once for every new document you ::create, i.e. ::on startup also once for the standard Untitled document. ::So it's the event that is raised all the time. :: Damn,, i really cannot understand. Ps. Maybe i already asked to you, but if you do the method updateInterface looks like this: def OnUpdateInterface(self, event): pass Is the error raised too? ::No I can't, because this error message isn't reported in the ::shell but an extra Python error message window pops up for ::this error. So I have no idea where in your code the error happens. ::But if there are only two occurences we can get it out... Ok, tell me if one of the two is the one thanks Alessandro Crugnola - sephiroth --------------------------------------------- Macromedia Flash Team Volunteer http://www.macromedia.com/go/team Flash && PHP developer ale...@se... *relax with SEPY http://www.sf.net/projects/sepy --------------------------------------------- |