Changeset 261ab22 in git


Ignore:
Timestamp:
24/02/15 22:10:21 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
b4f28e0
Parents:
0970b9d
Message:

src/mainfrm.cc: Work around GetIcon?() not working under OS X.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r0970b9d r261ab22  
     1Tue Feb 24 22:10:00 GMT 2015  Olly Betts <olly@survex.com>
     2
     3        * src/mainfrm.cc: Work around GetIcon() not working under OS X.
     4
    15Tue Feb 24 20:24:47 GMT 2015  Olly Betts <olly@survex.com>
    26
  • src/mainfrm.cc

    r0970b9d r261ab22  
    20312031{
    20322032    AvenAllowOnTop ontop(this);
     2033#ifdef __WXMAC__
     2034    // GetIcon() returns an invalid wxIcon under OS X.
     2035    AboutDlg dlg(this, wxICON(aven));
     2036#else
    20332037    AboutDlg dlg(this, GetIcon());
     2038#endif
    20342039    dlg.Centre();
    20352040    dlg.ShowModal();
Note: See TracChangeset for help on using the changeset viewer.