Commit Graph

13395 Commits

Author SHA1 Message Date
Gilles Depeyrot
2e403d6dac corrected post increment operators which must return value before increment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 05:59:46 +00:00
Vadim Zeitlin
4a38127bf0 replaced unnecessary #include with a forward decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 23:51:52 +00:00
Václav Slavík
90d0ab3443 no need to expand the hidden root (in fact, it is forbidden now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:53 +00:00
Václav Slavík
fe593c8ac3 use some Audacity icons in wxHTML instead of my uglu ones (with author's permission)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:35 +00:00
Václav Slavík
ae7f6528ed gcc3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:22 +00:00
Mattia Barbon
cc06fe74c4 Make Univ/GTK compile again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 20:16:40 +00:00
Stefan Neis
b1da81074c Speed-up for very large grids by more efficient search for rows/columns
that need to be updated (in various locations).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 17:56:56 +00:00
Václav Slavík
7391216edc added wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 16:18:26 +00:00
Robin Dunn
f2a10cdc48 A couple demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 15:58:41 +00:00
Robin Dunn
2a74d1415b Changes to match CVS updates over the weekend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:45:07 +00:00
Ron Lee
6728fb611b buggy cast == buggy scrolling in Life!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:25:48 +00:00
Robin Dunn
d55d6b3f45 Added wxImage.GetDataBuffer which returns an in-place edit buffer of
the image data.  (Patch #546009)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:18:52 +00:00
Vadim Zeitlin
3e679f0190 reset g_delayedFocus when the window is deleted to avoid crashes when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 15:44:55 +00:00
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