Commit Graph

14769 Commits

Author SHA1 Message Date
Vadim Zeitlin
f459d460ea removed (broken) richedit sample from the list of samples to build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:21:26 +00:00
David Webster
1c4fbbf159 OS/2 update to get Tip icon created correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:03:18 +00:00
Vadim Zeitlin
4198403e00 updated with the patch from Andrew V. Samoilov
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 14:32:41 +00:00
Julian Smart
ac240778d0 Added a line about MINGW32VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 07:31:00 +00:00
David Webster
25fc812c74 File dialog fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 04:12:31 +00:00
Vadim Zeitlin
15c3723c60 added wxCheckListBox::HitTest() (modified patch 594524)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:55:32 +00:00
Vadim Zeitlin
7ca528cb60 test new wxProcess::IsInputAvailable/Opened functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:55 +00:00
Vadim Zeitlin
411165f3f4 added and documented wxProcess::Is{Input|Error}Available() and IsInputOpened
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:33:20 +00:00
Vadim Zeitlin
7906613173 fixes for wxExecute() with IO redirection: wxStreamTempInputBuffer is now used under MSW as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:32:40 +00:00
Václav Slavík
db59a97cda 1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
2. fixed 'platform' property handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:28:15 +00:00
Václav Slavík
6ada5c3359 yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:54 +00:00
Václav Slavík
7a442f311a minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:27:24 +00:00
Vadim Zeitlin
e1756d2af5 removed a few already implemented entries, added 3-satte checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 19:12:13 +00:00
Julian Smart
c9b3918ae4 OpenGL off by default on Mac, correct scripts to
copy setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:38:05 +00:00
Stefan Csomor
44ba8f0ea9 not necessary anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:37:08 +00:00
Julian Smart
c892a77ee4 Fixed compilo (default arg) in joystick constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:58 +00:00
Julian Smart
131f9d9b19 Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
Julian Smart
b5c702530e Applied patch 548046: wxDebugAlloc & wxDebugFree thread safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 16:57:09 +00:00
Robert Roebling
3fc6e5fa23 Added scrolling of widgets to GTK 2.0.
Removied obsolete ifdef from toolbar code.
  Updated readme.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:48:14 +00:00
Robert Roebling
8805e15544 Implemented Maximize() etc for GTK 2.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:44:26 +00:00
Vadim Zeitlin
e015c2a31f rewrote wxString::To/FromAscii() to fix a few small problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:09:27 +00:00
Vadim Zeitlin
e7d41190e0 added tests for wxString::To/FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:51 +00:00
Vadim Zeitlin
c12ef8a2e8 don't initialize m_str twice in wxCharBuffer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:24 +00:00
Vadim Zeitlin
63bd679bc0 fixed Unicode wxBase config in VC6 project files, there was an extra quote which was completely confusing the compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:56:45 +00:00
Vadim Zeitlin
8dce54c9e6 added support for wxCONFIG_USE_NO_ESCAPE_CHARACTERS flag to wxFileConfig (patch 591381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:29:22 +00:00
Vadim Zeitlin
33293a32fe fixed error message when long options are disabled (patch 597771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:15:42 +00:00
Julian Smart
7666ad4935 Added brief instructions for compiling wxMSW with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 14:11:55 +00:00
Vadim Zeitlin
fb848f582b added mentions of internat sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:41:45 +00:00
Vadim Zeitlin
fb96947585 fixed m_relative initialization in wxFileName default ctor and Clear() (patch 597736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:28:51 +00:00
Vadim Zeitlin
b3e51e0f0f updated mutex and semaphore docs to reflect the new API (patch 593994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:25:21 +00:00
Vadim Zeitlin
e9bb94cf4a removed extra semi colon which provoked CW warnings (replaces patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:21:02 +00:00
Vadim Zeitlin
f92c90eb3a removed extra semi colon which provoked CW warnings (part of patch 596658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:19:33 +00:00
Julian Smart
8dafe2c7d5 Incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 11:51:14 +00:00
Julian Smart
bb811f17f0 -enable-mdi for X11 now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 10:01:52 +00:00
Julian Smart
6c70a9b594 Added generic MDI files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:27:29 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
90b18154c8 Applied patch [ 597320 ] Return wxNotebook::SetSelection value
By Hans Van Leemputten (hansvl)

According to the documentation
wxNotebook::SetSelection() should return the previous
selection... (Like wxMSW does) but the wxUniv version
returns the currently selected selection.

Patch was tested with wxX11.

Applied patch [ 597313 ] Popup menu still used after deletion

By Hans Van Leemputten (hansvl)

- This patch exists out of 2 parts;

Part 1 is a patch to show the problem with the menu
sample (this part is just to show the problem and should
not be put into CVS!).

Part 2 is the fix and should be put in CVS.
(src/univ/menu.cpp)

- Instructions to reproduce the problem with the menu
sample:
1. Apply part 1 of the patch only.
2. Run the sample after recompiling it.
3. Press "Close Test" -> "Close", this will basically
remove the current menu bar and recreate it again and
re-use the menu item "Close test" from the old menu
bar...
4. Again press "Close Test", doing this will already
crash the sample.

- The cause of the problem is that the m_popupMenu in
wxMenu is deleted because it is a child of the old menu
bar (Note: it does not get destroyed by the wxMenu
destructor, but by DestroyChildren()) and m_popupMenu
is not put back to NULL when this happens...

- This patch was tested only with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 08:34:05 +00:00
Julian Smart
2406fd34fe Reordered ClearCache calls as per Roger Chickering's suggestion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 08:13:22 +00:00
David Webster
b93f4bb9da FileDlg updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 05:00:48 +00:00
Václav Slavík
e4c2bd8403 reverted Robert's preference for tables-driven EC_CharSet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 23:09:18 +00:00
David Webster
4efd425972 Weekly updates and file dialog implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 22:22:31 +00:00
Stefan Csomor
49a9ce1b64 corrected button modifier state in carbon, cursor setup corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:40:28 +00:00
Stefan Csomor
2e17d7f8c9 wxMac needs same cursor setup for cursor as GTK and MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:36:19 +00:00
Stefan Csomor
a397f85cd7 const char correction for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 19:34:13 +00:00
Robert Roebling
ca11abde11 Lots more Unicode fixes.
wxClipboard fixes for GTK2 and UTF8.
  wxFileConfig now uses wxConvLocal to convert text
    and doesn't crash anymore..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:02:10 +00:00
Robert Roebling
127328cdd3 Extra check for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 17:00:06 +00:00
Robert Roebling
a3c24e91eb Make wxTELETYPE and wxMODERN map to monospaced fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:59:24 +00:00
Julian Smart
1241ab8ba0 Added EVT_JOY_BUTTON_... macros as per the manual,
retained the old names for compatibility.
Changed 2.3.2 to 2.3.3 in a couple of files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 16:09:40 +00:00
Julian Smart
316df2f209 Removed an old email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 10:03:20 +00:00
Julian Smart
59af5f19d0 Set the selection under Motif in wxChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 09:59:03 +00:00