Vadim Zeitlin
e8375af8ff
remove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in just wxMenuBar (and not set in each and every wxGTK control)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 15:16:06 +00:00
Robert Roebling
fbcb02294f
Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 09:28:08 +00:00
Paul Cornett
dc89b7bf7b
don't send move events for size changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 04:44:51 +00:00
Paul Cornett
0e795b0597
fix return type for "map_event" and "unmap_event" handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 04:33:47 +00:00
Vadim Zeitlin
4745f3c6ae
really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 23:07:28 +00:00
Vadim Zeitlin
df57f6bea3
compilation fixes for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 22:20:57 +00:00
Vadim Zeitlin
8e1dac8274
added wxStdDialogButtonSizer test (patch 1705382)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:25:24 +00:00
Vadim Zeitlin
b045eff215
detect if there was an error in standard GTK+ options processing and exit in such case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:19:53 +00:00
Vadim Zeitlin
f7a3c9be64
update wxApp::argc/argv to remove the options parsed by GTK+ itself from them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:17:49 +00:00
Vadim Zeitlin
d3a0a0eeab
added wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of the standard toolkit options to the usage message and implement it for wxGTK2 (patch 1703077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:54:07 +00:00
Vadim Zeitlin
2229243bdf
added wxDialog::GetParentForModalDialog() and use it to try to always create modal dialogs with a parent (slightly modified patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:34:41 +00:00
Vadim Zeitlin
a2979ead8d
added HasExtraStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:30:39 +00:00
Vadim Zeitlin
3b170aa895
don't pass unneeded arguments to AdustForGrowables()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:27:36 +00:00
Vadim Zeitlin
66c59e2c54
add m_ prefix to the member variables and remove unneeded dialogParent field (part of patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:20:51 +00:00
Vadim Zeitlin
7fca7a731d
don't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels to the last item(s) instead, as wxFlexGridSizer (now) does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 19:32:38 +00:00
Vadim Zeitlin
97800f6618
Many changes/fixes to wxFlexGridSizer implementation (no API changes):
...
- fix the problems addressed by the patch 1667343:
* only distribute extra space between growable items, not all space
* take hidden items and gaps into account for ALL grow mode layout
* fix rounding errors by allocating the remaining pixels to the last item(s)
- refactor the code to avoid duplication between row/column cases
- use STL-like wxList methods instead of compatibility ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 19:20:14 +00:00
Vadim Zeitlin
9c57566224
updated SetFont() documentation: it returns bool, not void (bug 1705330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:47:08 +00:00
Paul Cornett
095cb950db
fix double to int conversion warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:43:14 +00:00
Vadim Zeitlin
b9a325a19f
don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872; part of patch 1667343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 15:14:36 +00:00
Vadim Zeitlin
8906471733
distribute only the extra, free, space according to the items proportions in wxBoxSizer and not the entire available space
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:50:01 +00:00
Vadim Zeitlin
55bfbcb92b
(blind) compilation fixes after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:31:08 +00:00
Vadim Zeitlin
55809d1394
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:03:16 +00:00
Kevin Ollivier
a930afc71b
Return wx menu items inserted into the Window system menu, similar to what we do for Help and application menus.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:01:28 +00:00
Kevin Ollivier
6ff68ce9ad
Fix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode, also added handler for navigation keys and tweaked the virtual code for setting selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 21:44:31 +00:00
Vadim Zeitlin
b8e3f1cfb7
don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch 1702133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 21:14:59 +00:00
Vadim Zeitlin
361f4288eb
added support for image resolution options to PNG handler (heavily modified patch 1704128)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 19:29:01 +00:00
Vadim Zeitlin
defde6bc66
allow having children of status bar in XRC (patch 1704125)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:57:50 +00:00
Vadim Zeitlin
806ad81958
readded wxEditableListBox as part of adv library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:50:50 +00:00
Vadim Zeitlin
5f4d182091
added safe check for Pango version and use it to avoid underline hack in wxDC::DrawText() (modified patch 1702301)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:32:29 +00:00
Vadim Zeitlin
7e0bac9d7d
add missing dynarray.h includes (patch 1702312)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:13:48 +00:00
Vadim Zeitlin
df18cc7aa1
added wxStreamBuffer::Truncate() (patch 1687081)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:11:37 +00:00
Paul Cornett
10bd1f7d3b
remove redundant GTK_WIDGET casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 17:02:29 +00:00
Vadim Zeitlin
c079af66c8
fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:13:37 +00:00
Vadim Zeitlin
6ad0a7d52f
fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312); added a unit test for this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:04:52 +00:00
Vadim Zeitlin
11624aa059
oops, restored wrongly removed semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 14:58:46 +00:00
Vadim Zeitlin
5d262fdda8
removed extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 10:52:48 +00:00
David Elliott
829a2e9521
Remove Objective-C class posing for everything except for NSApplication.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 22:27:56 +00:00
David Elliott
ad3628fa86
Move Objective-C interfaces into separate header files in preparation for being able to use them from other source files.
...
No new or changed code. Work on behalf of Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 20:21:52 +00:00
Chris Elliott
781a8d7f3e
add const to avoid hiding warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 11:03:28 +00:00
Benjamin Williams
03dc5fadef
fixed bug when a fixed pane is resized inside a fixed dock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 09:03:43 +00:00
Jouk Jansen
deab0851ff
Committing in .
...
Update OpenVMS compile support
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:29:15 +00:00
Jouk Jansen
047b6c71d6
Committing in .
...
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
OpenVMS build update
wxWidgets/include/wx/unix/glx11.h
Removed superfluous semi-colon
wxWidgets/samples/db/dbtest.cpp
wxWidgets/samples/db/listdb.cpp
fixed wxString cast problems
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:16:48 +00:00
Chris Elliott
dedead3227
add const to avoid hiding warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:09:06 +00:00
Vadim Zeitlin
96c2a0dd74
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:40:13 +00:00
Vadim Zeitlin
92c6baaff2
corrected DLL export declaration of wxTimerEvent to fix VC++ DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:39:17 +00:00
Vadim Zeitlin
c2ca375c56
preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
...
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Vadim Zeitlin
a9c9588480
removed extra membersections (patch 1702329)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:21:00 +00:00
Vadim Zeitlin
50415ad7ee
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:16:16 +00:00
Vadim Zeitlin
5cb837400e
compilation fix (misplaced comma in OnIdle)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 22:13:21 +00:00
Václav Slavík
378964d49d
fixed wxCStrData::operator[] to use wxString::operator[] instead of at()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 18:33:35 +00:00