Vadim Zeitlin
73847506eb
removed unused OnSetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:44:36 +00:00
Vadim Zeitlin
efbcd6fb83
fixed warnings about main used as a variable name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:22:19 +00:00
Julian Smart
58ec225526
Added some missing wxTextCtrl features to to-do list in wxX11's readme.txt
...
Made the wxTipDialog fonts all Swiss (TODO: use current GUI setting for
the font family)
Worked around focus anomaly by suppressing parent's FocusIn event
when child's focus is being set by clicking on it (TODO: move some of this
to SetFocus() to make it work programmatically)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 14:33:07 +00:00
Vadim Zeitlin
478e03412d
compilation fix for ms_dllext definition and old compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 14:01:14 +00:00
Julian Smart
e4ba9eb2b7
Made default theme win32 under wxX11 since I think the default
...
should be 'vanilla'; less exciting but as fast as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 12:53:01 +00:00
Vadim Zeitlin
d0fcccc41f
fixed a fatal bug in DLL loading code: the deleted entries were never removed from the list of the loaded libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 12:28:02 +00:00
Julian Smart
4cae9a20a8
Fixed drawing sample compilo for wxMotif (doesn't have wxRegion::Offset)
...
Put m_ok earlier in SelectBitmap, else get assert after SelectObject(wxNullBitmap)
'Fixed' longlong to long conversion messages by redefinging GetMillisecondsTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 11:19:11 +00:00
Julian Smart
9b66c26ae7
Fixed wxMotif compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 10:32:41 +00:00
Julian Smart
9fd9e47a93
wxUniversal fixes:
...
window.cpp's WM_CLOSE now calls Close() for wxUniv, else dialogs/
frames won't get closed using system menu/button.
Added missing NULL init for m_artProvider in themes to cure crash
Added 2 sample dsp files for wxUniv (not ideal perhaps but
it will save these getting lost, and much user frustration)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 09:09:40 +00:00
David Webster
f16e72c837
More bitamp and image fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 04:12:22 +00:00
Mattia Barbon
eb37e1d2f3
Removed the need for wxStream::GetSize in wxHTML.
...
Ascape '&' in text/plain.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 17:36:16 +00:00
Robert Roebling
f90566f5c3
Bunch of GTK theme changes.
...
Make wxStatusBar use themes.
SetStatusText() now uses Refresh() since I don't
know why it shouldn't.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 16:43:15 +00:00
Václav Slavík
c7de4135b6
wxWizardPage(Simple) can do two-phase creation now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 11:45:37 +00:00
Vadim Zeitlin
5463c0a4e1
use SetFocusFromKbd() instead of SetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:33:21 +00:00
Vadim Zeitlin
e7e91e0358
fixed WM_GETDLGCODE processing to include the bits returned by the DefWindowProc() as well; removed unneeded SetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:56 +00:00
Vadim Zeitlin
ddf9d04fe9
implement SetFocusFromKbd() to select all text in the controls whose dialog code has DLGC_HASSETSEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:14 +00:00
Vadim Zeitlin
d577d610a3
added and documented wxWindow::SetFocusFromKbd
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:31:35 +00:00
Vadim Zeitlin
9ef3ebfbbe
initialize (and delete) the themes art provider - fixes wxUniv app crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 23:36:16 +00:00
Vadim Zeitlin
ff8ebfaf5d
compilation sample in !WXWIN_COMPATIBILITY_2_2 mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 23:30:23 +00:00
Julian Smart
6f9b81232e
Typo fixed in tsizer.tex; no change to setup0.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 21:18:20 +00:00
Vadim Zeitlin
8204abdefe
mention that doing SetFocus() results in the focus event being sent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:59:21 +00:00
Vadim Zeitlin
6aeb6f2a58
fixed initial focus handling in the dialog and made SetFocus() send the focus
...
events as under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:53:11 +00:00
Vadim Zeitlin
33b494d643
added wxGetTopLevelParent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 13:51:28 +00:00
Vadim Zeitlin
6703082ef0
fixed another return FALSE in a function returning a pointer (patch 545046)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 12:30:12 +00:00
Vadim Zeitlin
4b912ef220
made operator==() and \!=() const (still doesn't make them correct probably)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:20:49 +00:00
Vadim Zeitlin
7a82dabcc7
fixed huge memory leak in wxFileDialog (closes patch 544060)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:10:19 +00:00
Vadim Zeitlin
e94ff4cbf1
fixed logic in limiting spin ctrl values (patch from Dimitri)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Vadim Zeitlin
5f605ccf3f
implemented DoGetSize() for wxSlider (patch from Dimitri)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:57:28 +00:00
Vadim Zeitlin
93c4157c6c
fixed focus tracking for spin controls (patch from Dimitri)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 09:53:24 +00:00
Ron Lee
566d84a7c3
Added knowledge of virtual size to wx(Scrolled)Windows, they can now
...
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.
Modified Files:
docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
docs/latex/wx/window.tex include/wx/scrolwin.h
include/wx/sizer.h include/wx/window.h
include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
samples/scrollsub/scrollsub.cpp src/common/parser.y
src/common/sizer.cpp src/common/wincmn.cpp
src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
David Webster
1d0edc0f73
More updates for gdi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:40:05 +00:00
Gilles Depeyrot
c690ae86db
poll is not available under Darwin/Mac OS X and select should be used instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 21:05:25 +00:00
Robin Dunn
b98a5dfcdd
SWIGed changes for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:50 +00:00
Robin Dunn
d975da9bc4
Demo updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:19 +00:00
Gilles Depeyrot
40f7145ca5
use specific linker flags under Mac OS X when linking executables against the
...
wxWindows dynamic shared library (LDFLAGS_EXE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 18:39:06 +00:00
Robert Roebling
010afced51
Updated makefile for mobile sample.
...
Updated changes.txt.
Moved contents of ::Update() to ::GtkUpdate()
Moved internal idle functions in wxApp to
its own function.
Tried to fix themed background redraw problem
(probably same bug in wxNotebook and in
wxStatusBar and others).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 17:39:49 +00:00
Vadim Zeitlin
129223d68e
select the whole text in the single line text control when its SetFocus() is called (which also happens when the user TABs to it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 23:32:41 +00:00
Robert Roebling
8f4a9a1025
Moved mobile dir.
...
Made enable-no_rtti etc NO default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 16:41:35 +00:00
David Webster
ba2abe8530
back to void for DoFloodFill
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:30:53 +00:00
Julian Smart
777dbdc75e
Only create wxBuffer on wxMSW and wxMac platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 13:15:45 +00:00
Robin Dunn
2d956b5802
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:52 +00:00
Robin Dunn
9c67cbec02
Reorganized the tree in the wxPython demo, hooked the MDI demos into
...
the main demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:08 +00:00
Robin Dunn
d394edcac8
wxDF_HTML and FloodFill interface updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:42:09 +00:00
Robin Dunn
33ff77f695
Some wxGrid related classes now support OOR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
e3dbf5934e
Don't do the wx cleanup if wxPython didn't do the initialization.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:36:21 +00:00
Robin Dunn
6d9022fe3b
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:35:20 +00:00
Robin Dunn
afbd598c25
Some secondary grid classes now derive from wxClientDataContainer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:32:35 +00:00
David Webster
c354beeafa
Bitmap updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:12:36 +00:00
Robert Roebling
d7fa7eaa2d
Various changes to focus handling when TLW start.
...
Changed wxWindow::Clear() to use m_clearRegion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 22:44:31 +00:00
Robin Dunn
82550f2324
Added some methods to be consistent with wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:45 +00:00