[wxpython-mac] "Unsaved" dot in frame close button

Stefan Csomor csomor at advancedconcepts.ch
Thu May 29 05:10:14 PDT 2008


Hi

sorry, I didn=B9t expose that feature yet from wxMac, is there a way to call
Carbon directly ? the method you have to call is

OSStatus SetWindowModified (
   WindowRef window,
   Boolean modified
);

Best,

STefan


On 29.05.08 02:09, "Robert Jordan" <jordanrobert14 at gmail.com> wrote:

> Hello All:
> =

> I am working on a wxpython application and need to signal to the end user=
 that
> his changes to the application have not been saved to disk. The OS X stan=
dard
> way of marking a frame as "unsaved" is to put a dot in the close button o=
f the
> frame. Is there a way to do this in wxpython (a way that doesn't require
> drawing on a wx.DC?)
> =

> Regards,
> RJ
> =

> =

> =

> _______________________________________________
> wxpython-mac mailing list
> wxpython-mac at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-mac

-- =


Advanced Concepts AG
Software-Engineering
Heldweg 10   =

CH-8475 Ossingen
Switzerland

phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-mac/attachments/20080529=
/8fc07227/attachment.htm


More information about the wxpython-mac mailing list