Many changes :

- Deletion of all non-GNUstep debug stuff (printf...)
- Deletion of all Notification hooks (used for a debugging purpose)
- Deletion of the Application preference Panel that popups (pops up?)
  the 1st time you run _any_ application
- Deletion of the check of GSWINHandlesWindowDecorations and 
  GSWIN32HandlesWindowDecorations options (none worked because of 
  a typo and are now deprecated).
- use of GSBackHandlesWindowDecorations option like X11 backend
  instead of GSUseWMStyles (marked as deprecated)
- use of GSBackUsesNativeTaskbar option instead of GSUseWMTaskbar
  (marked as deprecated)
- all these options are read in -initWithAttribute: (no more in
  +inializeBackend) and set an instance (not class) variable.
- add methods -handlesWindowDecorations/-setHandlesWindowDecorations
- add methods -usesNativeTaskbar/-setUsesNativeTaskbar



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24804 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Xavier Glattard 2007-03-07 18:11:17 +00:00
parent bbd4ebe7d8
commit 41208bb38d
16 changed files with 91 additions and 2404 deletions

View file

@ -34,16 +34,6 @@
- (LRESULT) decodeWM_NCCREATEParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd
{
// stubbed for future development
#ifdef __WM_NCCREATE__
printf("WM_NCCREATE\n");
#ifdef __W32_debug__
printf("%s", [[self w32_createDetails:(LPCREATESTRUCT)lParam] cString]);
#endif
printf("\nRequested GS Window Style is %u\n", flags.currentGS_Style);
fflush(stdout);
#endif
return TRUE;
}
@ -84,23 +74,6 @@
win->useHDC = NO;
}
#ifdef __WM_CREATE__
printf("WM_CREATE: *********************\n");
#ifdef __W32_debug__
printf("%s", [[self w32_createDetails:(LPCREATESTRUCT)lParam] cString]);
fflush(stdout);
#endif
printf("Parent isa %s\n", [[self getNativeClassName:GetParent(hwnd)] cString]);
printf("[hwnd]Native WindowType %s\n", [[self getNativeClassName:(HWND)hwnd] cString]);
printf("[hwnd]GS WindowType %s:\n", [[EVENT_WINDOW(hwnd) className] cString]);
printf("HAVE_MAIN_MENU = %s\n", flags.HAVE_MAIN_MENU ? "YES": "NO");
printf("Main Menu Window Num: %d Currrent window Num: %d\n",
[[[NSApp mainMenu] window] windowNumber], (int)hwnd);
printf("Window Task bar flag %s\n", flags.useWMTaskBar ? "YES" : "NO");
#endif
return 0;
}
@end