From c6fb27e56df635eb50372d7341bd696b6b3ea72a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 28 Mar 2011 09:28:05 +0000 Subject: Mac OS: added field subwindow to Fl_X class that is true if this is a subwindow. Useful when deleting a window because subwindows share their xid with their parent window (unlike under MSWIn or Xlib), so subwindows should not delete their xid. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 1 + 1 file changed, 1 insertion(+) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index 6fcd18ce8..be64d8ddb 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -155,6 +155,7 @@ public: static void *get_carbon_function(const char *name); private: static void relink(Fl_Window*, Fl_Window*); + bool subwindow; }; extern struct Fl_XMap { -- cgit v1.2.3