]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontdlg.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / fontdlg.h
index 681c6ab5c12e2ef71bcd652012280a1e6802c08b..1396becad1c058a0102b8f978d05fdde8fa51a82 100644 (file)
@@ -15,7 +15,8 @@
 #   include "wx/os2/fontdlg.h"
 #endif
 
-// get the colour from user and return it
+// get the font from user and return it, returns wxNullFont if the dialog was
+// cancelled
 wxFont WXDLLEXPORT
 wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
                   const wxFont& fontInit = wxNullFont);