mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
MacOS windows were rsizable even if size_range would not allow a resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
CHANGES IN FLTK 1.1.2
|
CHANGES IN FLTK 1.1.2
|
||||||
|
|
||||||
|
- MacOS windows were resizable, even when size_range would
|
||||||
|
not allow for resizing.
|
||||||
- Fl_Text_Editor now supports Shift+Delete, Ctrl+Insert,
|
- Fl_Text_Editor now supports Shift+Delete, Ctrl+Insert,
|
||||||
and Shift+Insert for cut, copy, and paste,
|
and Shift+Insert for cut, copy, and paste,
|
||||||
respectively.
|
respectively.
|
||||||
|
|||||||
+4
-3
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_mac.cxx,v 1.1.2.34 2002/09/20 17:56:56 easysw Exp $"
|
// "$Id: Fl_mac.cxx,v 1.1.2.35 2002/10/29 19:23:55 matthiaswm Exp $"
|
||||||
//
|
//
|
||||||
// MacOS specific code for the Fast Light Tool Kit (FLTK).
|
// MacOS specific code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -1374,7 +1374,8 @@ void Fl_X::make(Fl_Window* w)
|
|||||||
int wp = w->w();
|
int wp = w->w();
|
||||||
int hp = w->h();
|
int hp = w->h();
|
||||||
if (w->size_range_set) {
|
if (w->size_range_set) {
|
||||||
winattr |= kWindowFullZoomAttribute | kWindowResizableAttribute | kWindowLiveResizeAttribute;
|
if ( w->minh != w->maxh || w->minw != w->maxw)
|
||||||
|
winattr |= kWindowFullZoomAttribute | kWindowResizableAttribute | kWindowLiveResizeAttribute;
|
||||||
} else {
|
} else {
|
||||||
if (w->resizable()) {
|
if (w->resizable()) {
|
||||||
Fl_Widget *o = w->resizable();
|
Fl_Widget *o = w->resizable();
|
||||||
@@ -1723,6 +1724,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) {
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_mac.cxx,v 1.1.2.34 2002/09/20 17:56:56 easysw Exp $".
|
// End of "$Id: Fl_mac.cxx,v 1.1.2.35 2002/10/29 19:23:55 matthiaswm Exp $".
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user