Distrib changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
25
Makefile.in
25
Makefile.in
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# This file was automatically generated by tmake at 22:30, 1999/10/16
|
# This file was automatically generated by tmake at 15:31, 1999/10/17
|
||||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -2304,10 +2304,7 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
||||||
mkdir $(DISTDIR)/samples/html/printing
|
mkdir $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
||||||
mkdir $(DISTDIR)/samples/html/test
|
mkdir $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
|
||||||
@@ -2354,24 +2351,29 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
||||||
mkdir $(DISTDIR)/samples/listctrl/bitmap
|
mkdir $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/mdi
|
mkdir $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
||||||
|
mkdir $(DISTDIR)/samples/mdi/bitmaps
|
||||||
|
cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/minifram
|
mkdir $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
||||||
mkdir $(DISTDIR)/samples/minifram/bitmap
|
mkdir $(DISTDIR)/samples/minifram/bitmaps
|
||||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/minimal
|
mkdir $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
||||||
|
mkdir $(DISTDIR)/samples/nettest
|
||||||
|
cp $(SAMPDIR)/nettest/Makefile.in $(DISTDIR)/samples/nettest
|
||||||
|
cp $(SAMPDIR)/nettest/*.cpp $(DISTDIR)/samples/nettest
|
||||||
mkdir $(DISTDIR)/samples/newgrid
|
mkdir $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
||||||
@@ -2408,6 +2410,9 @@ SAMPLES_DIST:
|
|||||||
mkdir $(DISTDIR)/samples/scroll
|
mkdir $(DISTDIR)/samples/scroll
|
||||||
cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
|
cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
|
||||||
cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
|
cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
|
||||||
|
mkdir $(DISTDIR)/samples/scrollsub
|
||||||
|
cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
|
||||||
|
cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
|
||||||
mkdir $(DISTDIR)/samples/splitter
|
mkdir $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
||||||
@@ -2423,8 +2428,8 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
||||||
mkdir $(DISTDIR)/samples/toolbar/bitmap
|
mkdir $(DISTDIR)/samples/toolbar/bitmaps
|
||||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
|
cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/treectrl
|
mkdir $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
||||||
|
@@ -861,10 +861,7 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
cp $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
||||||
mkdir $(DISTDIR)/samples/html/printing
|
mkdir $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/Makefile.in $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/*.xpm $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/*.cpp $(DISTDIR)/samples/html/printing
|
||||||
cp $(SAMPDIR)/html/printing/*.h $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.png $(DISTDIR)/samples/html/printing
|
|
||||||
cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
cp $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
||||||
mkdir $(DISTDIR)/samples/html/test
|
mkdir $(DISTDIR)/samples/html/test
|
||||||
cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
|
cp $(SAMPDIR)/html/test/Makefile.in $(DISTDIR)/samples/html/test
|
||||||
@@ -911,24 +908,29 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.cpp $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.h $(DISTDIR)/samples/listctrl
|
||||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
|
||||||
mkdir $(DISTDIR)/samples/listctrl/bitmap
|
mkdir $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/mdi
|
mkdir $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.cpp $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.h $(DISTDIR)/samples/mdi
|
||||||
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
cp $(SAMPDIR)/mdi/*.xpm $(DISTDIR)/samples/mdi
|
||||||
|
mkdir $(DISTDIR)/samples/mdi/bitmaps
|
||||||
|
cp $(SAMPDIR)/mdi/bitmaps/*.xpm $(DISTDIR)/samples/mdi/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/minifram
|
mkdir $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/Makefile.in $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.cpp $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.h $(DISTDIR)/samples/minifram
|
||||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram
|
||||||
mkdir $(DISTDIR)/samples/minifram/bitmap
|
mkdir $(DISTDIR)/samples/minifram/bitmaps
|
||||||
cp $(SAMPDIR)/minifram/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
cp $(SAMPDIR)/minifram/bitmaps/*.xpm $(DISTDIR)/samples/minifram/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/minimal
|
mkdir $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/Makefile.in $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.cpp $(DISTDIR)/samples/minimal
|
||||||
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
cp $(SAMPDIR)/minimal/*.xpm $(DISTDIR)/samples/minimal
|
||||||
|
mkdir $(DISTDIR)/samples/nettest
|
||||||
|
cp $(SAMPDIR)/nettest/Makefile.in $(DISTDIR)/samples/nettest
|
||||||
|
cp $(SAMPDIR)/nettest/*.cpp $(DISTDIR)/samples/nettest
|
||||||
mkdir $(DISTDIR)/samples/newgrid
|
mkdir $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/Makefile.in $(DISTDIR)/samples/newgrid
|
||||||
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
cp $(SAMPDIR)/newgrid/*.cpp $(DISTDIR)/samples/newgrid
|
||||||
@@ -965,6 +967,9 @@ SAMPLES_DIST:
|
|||||||
mkdir $(DISTDIR)/samples/scroll
|
mkdir $(DISTDIR)/samples/scroll
|
||||||
cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
|
cp $(SAMPDIR)/scroll/Makefile.in $(DISTDIR)/samples/scroll
|
||||||
cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
|
cp $(SAMPDIR)/scroll/*.cpp $(DISTDIR)/samples/scroll
|
||||||
|
mkdir $(DISTDIR)/samples/scrollsub
|
||||||
|
cp $(SAMPDIR)/scrollsub/Makefile.in $(DISTDIR)/samples/scrollsub
|
||||||
|
cp $(SAMPDIR)/scrollsub/*.cpp $(DISTDIR)/samples/scrollsub
|
||||||
mkdir $(DISTDIR)/samples/splitter
|
mkdir $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
|
||||||
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
|
||||||
@@ -980,8 +985,8 @@ SAMPLES_DIST:
|
|||||||
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.cpp $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.h $(DISTDIR)/samples/toolbar
|
||||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar
|
||||||
mkdir $(DISTDIR)/samples/toolbar/bitmap
|
mkdir $(DISTDIR)/samples/toolbar/bitmaps
|
||||||
cp $(SAMPDIR)/toolbar/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
|
cp $(SAMPDIR)/toolbar/bitmaps/*.xpm $(DISTDIR)/samples/toolbar/bitmaps
|
||||||
mkdir $(DISTDIR)/samples/treectrl
|
mkdir $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/Makefile.in $(DISTDIR)/samples/treectrl
|
||||||
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
cp $(SAMPDIR)/treectrl/*.cpp $(DISTDIR)/samples/treectrl
|
||||||
|
@@ -13,11 +13,14 @@ almost universally agreed that only a commercial entity
|
|||||||
will have the motivation ($$$) to do that - so far there
|
will have the motivation ($$$) to do that - so far there
|
||||||
is no wxWindows Inc.
|
is no wxWindows Inc.
|
||||||
|
|
||||||
Support for GTK 1.0 has been dropped.
|
Support for GTK 1.0 has been dropped. This version has
|
||||||
|
been tested with GTK 1.2.3 and GTK 1.2.6 - it is known
|
||||||
|
not work with some other versions.
|
||||||
|
|
||||||
Many build fixes for various platforms have been applied,
|
Many build fixes for various platforms have been applied,
|
||||||
try again, poor HP-UX and *BSD users, but don't reckon
|
try again, poor HP-UX and *BSD users, but don't reckon
|
||||||
with immediate success.
|
with immediate success. Actually, when using GNU compilers,
|
||||||
|
your chances are quite good.
|
||||||
|
|
||||||
My total rewrite of the wxWindows underlying GTK widget
|
My total rewrite of the wxWindows underlying GTK widget
|
||||||
has turned scrolling including subwindows from barely
|
has turned scrolling including subwindows from barely
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
|
||||||
|
#include "wx/sizer.h"
|
||||||
#include "wx/menuitem.h"
|
#include "wx/menuitem.h"
|
||||||
#include "wx/checklst.h"
|
#include "wx/checklst.h"
|
||||||
|
|
||||||
@@ -167,8 +168,32 @@ CheckListBoxFrame::CheckListBoxFrame(wxFrame *frame,
|
|||||||
m_pListBox->Check(2);
|
m_pListBox->Check(2);
|
||||||
|
|
||||||
// create buttons for moving the items around
|
// create buttons for moving the items around
|
||||||
(void)new wxButton(panel, Btn_Up, " &Up ", wxPoint(420, 90));
|
wxButton *button1 = new wxButton(panel, Btn_Up, " &Up ", wxPoint(420, 90));
|
||||||
(void)new wxButton(panel, Btn_Down, "&Down", wxPoint(420, 120));
|
wxButton *button2 = new wxButton(panel, Btn_Down, "&Down", wxPoint(420, 120));
|
||||||
|
|
||||||
|
|
||||||
|
wxBoxSizer *mainsizer = new wxBoxSizer( wxVERTICAL );
|
||||||
|
|
||||||
|
mainsizer->Add( m_pListBox, 1, wxGROW|wxALL, 10 );
|
||||||
|
|
||||||
|
wxBoxSizer *bottomsizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
|
|
||||||
|
bottomsizer->Add( button1, 0, wxALL, 10 );
|
||||||
|
bottomsizer->Add( button2, 0, wxALL, 10 );
|
||||||
|
|
||||||
|
mainsizer->Add( bottomsizer, 0, wxCENTER );
|
||||||
|
|
||||||
|
// tell frame to make use of sizer (or constraints, if any)
|
||||||
|
SetAutoLayout( TRUE );
|
||||||
|
|
||||||
|
// set frame to minimum size
|
||||||
|
mainsizer->Fit( this );
|
||||||
|
|
||||||
|
// don't allow frame to get smaller than what the sizers tell ye
|
||||||
|
mainsizer->SetSizeHints( this );
|
||||||
|
|
||||||
|
SetSizer( mainsizer );
|
||||||
|
|
||||||
|
|
||||||
Show(TRUE);
|
Show(TRUE);
|
||||||
}
|
}
|
||||||
|
@@ -313,6 +313,7 @@ NewSizerFrame::NewSizerFrame(wxFrame *frame, char *title, int x, int y ):
|
|||||||
0, // make vertically unstretchable
|
0, // make vertically unstretchable
|
||||||
wxCENTER ); // no border and centre horizontally
|
wxCENTER ); // no border and centre horizontally
|
||||||
|
|
||||||
|
SetAutoLayout( TRUE );
|
||||||
|
|
||||||
// set frame to minimum size
|
// set frame to minimum size
|
||||||
topsizer->Fit( this );
|
topsizer->Fit( this );
|
||||||
@@ -321,8 +322,6 @@ NewSizerFrame::NewSizerFrame(wxFrame *frame, char *title, int x, int y ):
|
|||||||
topsizer->SetSizeHints( this );
|
topsizer->SetSizeHints( this );
|
||||||
|
|
||||||
SetSizer( topsizer );
|
SetSizer( topsizer );
|
||||||
|
|
||||||
SetAutoLayout( TRUE );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user