dialog title bug -- mac os 10.4.7

Hi,

Instead of appearing in the title bar, the title appears as
bolded text in the body of the dialog.

Example code:

···

---
import wx

app = wx.PySimpleApp()

dlg = wx.MessageDialog(None, "the body message", "The Title")
result = dlg.ShowModal()
dlg.Destroy()
---

intel mac, os 10.4.7

Instead of appearing in the title bar, the title appears as
bolded text in the body of the dialog.

The bug appears to be isolated to wx.MessageDialog.
For a wx.TextEntryDialog and a wx.SingleChoiceDialog, the "caption"
appears in the title bar.

Hi,

7stud wrote:

Instead of appearing in the title bar, the title appears as bolded text in the body of the dialog.
    
The bug appears to be isolated to wx.MessageDialog.
For a wx.TextEntryDialog and a wx.SingleChoiceDialog, the "caption"
appears in the title bar.
  

FWIW, and it seems Mac specific. Just tried it on Vista and the Caption shows were it should.

What version of wxPython are you running? I am on:

# Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
# wxPython 2.8.3.0, Boa Constructor 0.5.2

Werner

Hi,

7stud wrote:

Hi,

Instead of appearing in the title bar, the title appears as bolded text in the body of the dialog.

Example code:

---
import wx

app = wx.PySimpleApp()

dlg = wx.MessageDialog(None, "the body message", "The Title")
  

What happens when you call it like this:
dlg = wx.MessageDialog(None, message="the body message", caption="The Title")

Werner

···

result = dlg.ShowModal()
dlg.Destroy()
---

intel mac, os 10.4.7

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Werner F. Bruhin <werner.bruhin <at> free.fr> writes:

What version of wxPython are you running? I am on:

# Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)]
# wxPython 2.8.3.0, Boa Constructor 0.5.2

Sorry, I forgot to include that. I installed wxPython from this download:

wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.4.dmg

It's wxPython 2.8.3 for mac os 10.4 with python 2.4.3 installed.
I upgrades to python 2.4.3 a few weeks ago because the download
said that version had more modules for mac than python version 2.5.

What happens when you call it like this:
dlg = wx.MessageDialog(None, message="the body message", caption="The
Title")

I get the same result: the caption is displayed as bolded text
inside the frame--not in the title bar.

7stud wrote:

Hi,

Instead of appearing in the title bar, the title appears as bolded text in the body of the dialog.

It's using the native message dialog, and that is how Apple decided it should look.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!