ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
[wxPython-users] Re: MessageDialogs on linux
by Davor Cengija other posts by this author
Mar 24 2003 4:01PM messages near this date
[wxPython-users] MessageDialogs on linux | Re: [wxPython-users] MessageDialogs on linux
christopher.j.regan@[...].com wrote:

>  Hello
>      Just a quick question, i created some dialogs using wxMessageDialog
>      and it seems that no matter what i specify as the buttons there always
>      appears a help button. Any ideas how to get rid of it. I implement the
>      dialogs this way:
>  
>  theBox = wxMessageDialog(self, msgText, title, wxOK | wxICON_INFORMATION |
>  wxCENTRE | wxSTAY_ON_TOP)
>  
>  as you can see i only want an ok button but for some reason that help
>  button shows up also. Thanks

I have e.g.:

    def NotImplementedDialog(self, event):
        dialog = wxMessageDialog(self, "Funkcionalnost nije 
implementirana", "Nije implementirano",
                                 wxOK | wxICON_INFORMATION)
        dialog.CentreOnParent()
        dialog.ShowModal()
        dialog.Destroy()

and it works as expected.

wxPythonGTK-py2.2-2.4.0.6-1 on Mandrake 8.2
-- 
davor.cengija@[...].hr


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thread:

Davor Cengija
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved