Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2014-08-23 02:25 VZ, revision 77190

Implement slider tick frequency and marks in wxQT

2014-08-23 02:25 VZ, revision 77189

Force font selection on controls sample (to check font family works ok and to avoid default font -that can be different in wxQT than in wxGTK-)

2014-08-23 02:25 VZ, revision 77188

Fix notebook tab change events and insertion (move selection logic from qt helper to wx class, and block firing qt signals to avoid initialization problems and to better simulate signal vetoing -to not show the page in advance-). Solution for selection logic taken from wxGTK (now using base clases). Note also that most methods of QTabWidget cannot be overriden (IMHO enforcing the thin qt helpers approach).

2014-08-23 02:25 VZ, revision 77187

Move wxQT notebook helper from header to source (make it internal)

2014-08-23 02:24 VZ, revision 77186

Remove wxQT button helper from header and split signal handlers (using parameter, removing m_eventType and renaming the method following qt signal name). Note: cannot be unified as wxEVT_TOGGLEBUTTON is only defined in tglbtn, so a new inherited QtCreate method to instantiate the wxQtPushButton or wxQtToggleButton was introduced.

2014-08-23 02:24 VZ, revision 77185

Fix to ensure font family is enforced under wxQT (discarding facename if set, forcing qt to choose a proper font)

2014-08-23 02:24 VZ, revision 77184

Add wxFont::SetFaceName for wxQT to actually force the qt "font matching algoritm" to select a proper font (if not, wxFont::SetFamily has no effect). Also note that calling wxFontBase::SetFaceName causes a segmentation fault, probably caused by the UnRef() due wxFontEnumerator::IsValidFacename returns false (EnumerateFacenames is currently not implemented)

2014-08-23 02:24 VZ, revision 77183

Fix to draw ellipse with 'no fill' if pen is not transparent in wxQT (in fact, filled with text background color like in wxGTK)

2014-08-23 02:24 VZ, revision 77182

Fix wxMemoryDC object de-selection (using wxNullBitmap), storing the selected bitmap and implementing GetSelectedBitmap in wxQT

2014-08-23 02:24 VZ, revision 77181

Implement spin control event in wxQT (connecting the value changed signal, similar to wxGTK)

2014-08-23 02:24 VZ, revision 77180

Derive wxQtSpinBox polymorphy helpers from wxQtEventSignalHandler to proccess QSpinBox events. Note that wxQtSpinCtrlBase is not a helper derived from Qt (it is in fact the wxQT implementation derived from wxSpinCtrlBase)

2014-08-23 02:24 VZ, revision 77179

Implement wxTextCtr SetSelection and GetValue methods (needed by SetValue) in wxQt

2014-08-23 02:24 VZ, revision 77178

Rename internal helper wxQtSpinBox to wxQtSpinButton in order to avoid collision (and segmentation fault) with wxSpinCtrl

2014-08-23 02:24 VZ, revision 77177

Implement spin button event (wxQtSpinBox internal helper)

2014-08-23 02:24 VZ, revision 77176

Add text event and allow edition in wxQtComboBox

2014-08-23 02:24 VZ, revision 77175

Implement basic slider methods (set/get range and value) in wxQT

2014-08-23 02:24 VZ, revision 77174

Implement wxSlider event handling (including internal wxQtSlider helper)

2014-08-23 02:24 VZ, revision 77173

Implement basic gauge methods (set/get range and value)

2014-08-23 02:24 VZ, revision 77172

Add wxQtProgressBar stub internal helper for gauge (just for generic events, no signal needed now)

2014-08-23 02:24 VZ, revision 77171

Add wxQtButtonGroup internal intermediate helper to connect wxQtRadioBox (QGroupBox) button signal. Note this one is not a 'visual' control so it doesn't derives from QWidget, then using wxQtSignalHandler instead of wxQtEventSignalHandler

2014-08-23 02:24 VZ, revision 77170

Implement wxQtGroupBox and wxQtRadioBox internal helpers (just to handle qt events as no signal connected by now)

2014-08-23 02:24 VZ, revision 77169

Remove shared groupbox_qt header for wxQtGroupBox stub (real wxQT internal hepers will be implemented for wxStaticBox and wxRadioGroup)

2014-08-23 02:23 VZ, revision 77168

Implement combobox event (fixing wxQtComboBox helper signal handler), it should use SendSelectionChangedEvent but wxControlWithItemsBase collides with wxComboBoxBase, and it cannot derive from wxChoice as in wxGTK as in wxQT wxTextEntry is not completely implemented. So, the current implementation is not optimal (it has some minor code duplication) but it works ok

2014-08-23 02:23 VZ, revision 77167

Remove combobox_qt header as it is no longer used (helper implementations are now internal to wxChoice and wxComboBox)

2014-08-23 02:23 VZ, revision 77166

Implement combobox basic methods (adding internal wxQtComboBox helper), very similar to wxChoice implementation to wxQT. Note that the old wxQtComboBox superseded and no more shared with wxChoice

2014-08-23 02:23 VZ, revision 77165

Implement choice basic methods for wxQT (this was simpler than wxListBox as no intermediate item class like QListWidgetItem is used)

2014-08-23 02:23 VZ, revision 77164

Implement choice event (adding internal wxQtChoice helper), note the explicit cast needed as the qt signal is overloaded

2014-08-23 02:23 VZ, revision 77163

Implement DoInsertItems in wxQT list box (additional DoInsertOneItem is needed by wxItemContainer::DoInsertItemsInLoop)

2014-08-23 02:23 VZ, revision 77162

Implement client data in wxQT list box inside QListWidgetItem.data user role (using QVariant to store the pointer, similar to wxWindow::QtStoreWindowPointer but not using Q_DECLARE_METATYPE)

2014-08-23 02:23 VZ, revision 77161

Implement list box clear and item deletion methods in wxQT

2014-08-23 02:23 VZ, revision 77160

Implement list box basic selection method in wxQT

2014-08-23 02:23 VZ, revision 77159

Implement list box string methods in wxQT (used in SendEvent)

2014-08-23 02:23 VZ, revision 77158

Implement list box events (adding internal wxQtListBox helper), note the additional wxListBox::QtSendEvent method as wxListBoxBase:SendEvent is protected (taken from wxGTK solution)

2014-08-23 02:23 VZ, revision 77157

Implement check box event (adding wxQtCheckBox helper)

2014-08-23 02:23 VZ, revision 77156

Implement window enable/disable in wxQT

2014-08-23 02:23 VZ, revision 77155

Refactor wxQT button implementation adding wxAnyButton to avoid code duplication with toggle buttons and simplify wxQPushButton helper (only signal and event handling left on the derived Qt class) --HG-- rename : include/wx/gtk/anybutton.h => include/wx/qt/anybutton.h rename : src/qt/button.cpp => src/qt/anybutton.cpp

2014-08-23 02:23 VZ, revision 77154

Send toggle button checked state in wxQtPushButton event

2014-08-23 02:23 VZ, revision 77153

Send different event types from wxQtPushButton (to support toggle buttons that are the same class in qt)

2014-08-23 02:23 VZ, revision 77152

Add wxStaticText:SetLabel implmentation to wxQT

2014-08-23 02:23 VZ, revision 77151

Ensure the cursor is visible after writing in wxQT multiline wxTextCtrl

2014-08-23 02:23 VZ, revision 77150

Ensure the cursor is visible after setting insertion point in wxQT multiline wxTextCtrl

2014-08-23 02:22 VZ, revision 77149

Revert fake change that shoul't had been commited

2014-08-23 02:22 VZ, revision 77148

Implement cursor position (insertion point) in wxTextCtrl for wxQT (methods are different for QLineEdit and QTextEdit and even QComboBox, so it is not implemented in wxTextEntry)

2014-08-23 02:22 VZ, revision 77147

Implement wxTextCtrl::WriteText in wxQT (used by wxLogTextCtrl)

2014-08-23 02:22 VZ, revision 77146

Fix toggle button ctor in wxQT to create and size the qt control correctly

2014-08-23 02:22 VZ, revision 77145

Move bitmap setting to wxButton::DoSetBitmap so it can be reused from other methods and deriver classes (wxQT, skeleton taken from wxGTK wxAnyButton)

2014-08-23 02:22 VZ, revision 77144

Display bitmap in wxBitmapButton wxQT

2014-08-23 02:22 VZ, revision 77143

Add minimal support for single line text control for wxQT (using QLineEdit vs QTextEdit)

2014-08-23 02:22 VZ, revision 77142

Enable wrapping in static text in wxQT (solution similar to wxGTK)

2014-08-23 02:22 VZ, revision 77141

Fix adding initial items in wxQT wxListBox (taken from wxQtComboBox::AddChoices)

2014-08-23 02:22 VZ, revision 77140

Fix zorder between combo box and static box in controls sample for wxQT (so the combobox can receive events after staticbox is created)

2014-08-23 02:22 VZ, revision 77139

Fix choice best size calculation (it was overriding wxQT hints, specially for default height)

2014-08-23 02:22 VZ, revision 77138

Fix combobox sizing in wxQT (minimal is bigger than normal hint in this case) IMPORTANT: not seting MinSize as semantic seems a bit different with wxWidgets so it causes regressions in wxNotebook

2014-08-23 02:22 VZ, revision 77137

Use label height for top border in static box (to fix inner sizing issues in wxQT, similar solution than wxMSW)

2014-08-23 02:22 VZ, revision 77136

Fix radio box vertical / horizontal style implementation (selecting QVBoxLayout or QHBoxLayout accordingly)

2014-08-23 02:22 VZ, revision 77135

Fix sizing in radio box using a QVBoxLayout so get best size works (qt sizeHint)

2014-08-23 02:22 VZ, revision 77134

Remove rule for Qt's moc precompiler as no longer needed

2014-08-23 02:22 VZ, revision 77133

Use new Qt5 syntax to connect signals to QObject's member functions in wxQT, removing SLOT and SIGNAL macros (third stage to remove moc)

2014-08-23 02:22 VZ, revision 77132

Remove Q_OBJECT and Q_SLOTS from wxQT headers to avoid vtable linking issues (second stage to remove moc)

2014-08-23 02:22 VZ, revision 77131

Unify wxQT helpers code (*_qt.cpp) inside main source files (*.cpp), some headers (*_qt.h) remains independent to avoid include problems (first stage to remove moc)

2014-08-23 02:21 VZ, revision 77130

Remove Q_OBJECT macro for wxQT notebook to avoid vtable link-time error due no moc precompilation being used (not needed as not using slots)

2014-08-23 02:21 VZ, revision 77129

Use wxQtEventSignalHandler for wxQtTabWidget helper (and move declaration to header)

2014-08-23 02:21 VZ, revision 77128

Revert wxQT provisional notebook size fix in sample control (fixed in previous commits)

2014-08-23 02:21 VZ, revision 77127

Move DoGetBestSize() from wxWindow to wxControl to let wxWindowBase properly calculate sizes (ie. tabs inside wxNotebook) in wxQT

2014-08-23 02:21 VZ, revision 77126

Fix bad logic preventing wxSizeEvent triggering at Window::Show() due unreachable code in wxQT

2014-08-23 02:21 VZ, revision 77125

Fix notebook tab selection on insert (wxQt)

2014-08-23 02:21 VZ, revision 77124

Use wxVector<int> in new code for storage of internal imageId in notebook tabs (wxQT), wxArrayXXX stuff is legacy

2014-08-23 02:21 VZ, revision 77123

Fix style coding guidelines remarks

2014-08-23 02:21 VZ, revision 77122

Add support for notebook page change events in wxQT (using helper and new Qt5 connect syntax calling QObject member)

2014-08-23 02:21 VZ, revision 77121

Add some checks and to test wxQT notebook implementation with controls sample

2014-08-23 02:21 VZ, revision 77120

Fix notebook page removal in wxQT (add missing call to base)

2014-08-23 02:21 VZ, revision 77119

Add internal imageId array to implement notebook tabs image retrival in wxQT

2014-08-23 02:21 VZ, revision 77118

Implement notebook set page image and removal in wxQT

2014-08-23 02:21 VZ, revision 77117

Add support for images (QIcon) in notebook tabs (wxQT)

2014-08-23 02:21 VZ, revision 77116

Add inserted notebook page to the internal array of pages in wxQT (fix page order and possibly other issues)

2014-08-23 02:21 VZ, revision 77115

Comment out incorrect notebook set tab enabled in wxQT

2014-08-23 02:20 VZ, revision 77114

Merge wxQT GSOC2014 branch with master trunk (svn rev 76659)

2014-08-23 02:20 VZ, revision 77113

Update build files by bakefile_gen / autoconf

2014-08-23 02:20 VZ, revision 77112

Remove $ from wxQT branch sources and includes

2014-08-23 02:20 VZ, revision 77111

Remove WXWIN_COMPATIBILITY_2_6 and FUTURE_WXWIN_COMPATIBILITY_3_0 in wxQT

2014-08-23 02:20 VZ, revision 77110

Remove redundant text dialog generic .cpp include in wxQT

2014-08-23 02:20 VZ, revision 77109

Use generic tree control in wxQT (qt/treectrl.cpp and header not used but still not removed yet)

2014-08-23 02:20 VZ, revision 77108

Fix compilation regression in other ports (gtk) due commented entries in bakefiles (missing qt features)

2014-08-23 02:20 VZ, revision 77107

Fix QtGlobal include for for QT_VERSION_STR constants (wxQT)

2014-08-23 02:20 VZ, revision 77106

Add wxQtEventLoopSourcesManager stub implementation to fix wxQT linking error: reference to 'wxGUIAppTraits::GetEventLoopSourcesManager()' not defined (see svn r74477 and #15305)

2014-08-23 02:20 VZ, revision 77105

Add generic wxTextMeasure to wxQT QT_LOWLEVEL_SRC bakefile section (and regenerate build files) to fix error: reference to 'vtable for wxTextMeasure' not defined

2014-08-23 02:20 VZ, revision 77104

Add direct wxQT implementation of wxBitmap::Create(int, int, wxDC&) needed in wxAuiTabContainer::Render for retina support (not using the dc, see svn r76601 r74294)

2014-08-23 02:19 VZ, revision 77103

Add dummy wxDropTarget::GetMatchingPair for wxQT (not implemented as in osx)

2014-08-23 02:19 VZ, revision 77102

Define wxHAS_GENERIC_DATAVIEWCTRL for wxQT (as GetTextExtent is not defined)

2014-08-23 02:19 VZ, revision 77101

Use const arrays for wxDC array parameters in wxQtDCImpl and wxPrinterDCImpl (see svn r73382 #10712)

2014-08-23 02:19 VZ, revision 77100

Fixed error: invalid conversion from ‘int’ to ‘wxMouseWheelAxis’ (wxQQ)

2014-08-23 02:19 VZ, revision 77099

Fix missing qt tooltip include due bad merge

2014-08-23 02:19 VZ, revision 77098

Add wxSpinCtrl SetBase and GetBase methods to wxQT (only base 10, see svn r72414)

2014-08-23 02:19 VZ, revision 77097

Remove wxRA_USE_CHECKBOX (see svn r70345)

2014-08-23 02:19 VZ, revision 77096

Refactor wxQtEventLoopBase methods DoRun, ScheduleExit, DoYieldFor (based on svn r74333 r74335 r76061)

2014-08-23 02:19 VZ, revision 77095

Regenerate build files with bakefile_gen and autoconf after merge

2014-08-23 02:17 VZ, revision 77094

merge SOC2014_QT (2.9) with master trunk

2014-08-21 16:14 VZ, revision 77093

Fix ribbon bar tab width computation if the first tab is hidden. The logic for the first tab should really deal with the first visible tab as the actual first tab might be hidden and in this case we shouldn't account for it at all. Closes #16432.

2014-08-21 16:13 VZ, revision 77092

Fix ribbon bar tab width computation if the first tab is hidden. The logic for the first tab should really deal with the first visible tab as the actual first tab might be hidden and in this case we shouldn't account for it at all. Closes #16432.

2014-08-19 14:55 VZ, revision 77091
  • D /wxWidgets/branches/SOC2014_QT

Delete SOC2014_QT branch created at the wrong point.

2014-08-19 14:49 VZ, revision 77090

add SAMPLES_CXXFLAGS option for -fPIC due Qt is built with -reduce-relocations

2014-08-19 14:48 VZ, revision 77089

Add QT_WIDGETS_LIB define to enable QWidget* support in QTest (needed by uiactionsim)

2014-08-19 14:48 VZ, revision 77088

Use wxString::utf8_str() to avoid ambiguity as Qt5 now expect that encoding for QString::QString(const char * str)

2014-08-19 14:48 VZ, revision 77087

Migrate to qt5 (includes QtGui -> QtWidgets, toAscii -> toLatin, QApplication::GuiClient from QApplication() in main)

2014-08-19 14:48 VZ, revision 77086

Update pkg-config to Qt5* libs

2014-08-19 14:48 VZ, revision 77085

Fix plataform info for qt

2014-08-19 14:04 VZ, revision 77084

Create branch for GSoC 2014 wxQt project work.

2014-08-18 23:32 VZ, revision 77083

Fix generic wxSearchCtrl size/layout code. Override DoGetBestClientSize() instead of DoGetBestSize(), as we're really computing just the size of our contents and like this we don't need to hard code platform-dependent border sizes in this control itself. Also use the client size in LayoutControls() for the same reason. This also makes it unnecessary to pass it the width and height as it can find them on its own. And x and y were never used in the first place, so remove them too. Finally, center the bitmaps vertically. Closes #16422.

2014-08-18 19:02 PC, revision 77082

fix use of stack variable after it has gone out of scope, closes #16423

2014-08-18 15:09 VZ, revision 77081

Show new style Windows directory selector even for non-existent paths. Passing an invalid initial directory to wxDirDialog resulted in using the old style Windows directory selector dialog instead of the new style (file dialog like) one, which was unintentional, as incorrect initial directory shouldn't prevent the dialog from being shown. Fix this by handling ERROR_FILE_NOT_FOUND error specifically and still showing the new dialog, just without the (non existent) initial directory value, in this case. Closes #16430.

2014-08-16 14:16 VZ, revision 77076

Remove default argument value from wxIHTMLElement2::setExpression(). This doesn't make much sense for an interface declaration anyhow and produces a warning from g++ about assigning string literal to (non-const) BSTR pointer.

2014-08-16 02:24 VZ, revision 77075

Don't exit event loop when exception occurs inside Yield(). If an unhandled exception occurs in an event handler called from Yield(), don't exit the current event loop which can continue running after handling this exception in the code calling Yield(). Closes #16419.

2014-08-15 19:09 PC, revision 77074

Fix handling of identical consecutive key events Events generated programmatically may have the same timestamp as the previous event, which caused them to be ignored on the assumption that they were the same event being sent to a parent window. Fix this by detecting when a new event could be generated by the event loop. Closes #15802

2014-08-15 14:14 VZ, revision 77073

Refactor Unix OpenGL code to avoid using static attributes array. Put the context attributes in wxGLCanvasX11 itself instead. See #16402.

2014-08-15 14:14 VZ, revision 77072

Fix creating wxGLCanvas without any attributes in wxMSW. This was broken by the changes of r77018, see #16402. Just check that we do have the attributes before examining them.

2014-08-14 18:05 VZ, revision 77071

Allow using ESC as accelerator in wxMSW again. This ended up being broken due to an interplay between different unrelated changes (at least r15120 and r41134) which were both correct, but didn't work well together and resulted in not only preventing IsDialogMessage() from handling ESC, but also our own accelerator tables. Fix this by doing the check for IsDialogMessage() brokenness in MSWProcessMessage() itself, just before calling it, instead of doing it in MSWShouldPreProcessMessage() which is (and must be) called before MSWTranslateMessage() which checks for accelerators using ESC. Closes #3813.

2014-08-14 14:17 VZ, revision 77070

Add support for paragraph spacing attribute to wxTextCtrl in wxMSW. Use PFM_SPACEAFTER/PFM_SPACEBEFORE to implement support for them. Closes #16417.

2014-08-14 14:17 VZ, revision 77069

Add support for paragraph spacing attribute to wxTextCtrl in wxMSW. Use PFM_SPACEAFTER/PFM_SPACEBEFORE to implement support for them. Closes #16417.

2014-08-14 14:11 VZ, revision 77068

Restore dynamic linking of GDI functions for non-MSVC. This partially reverts the changes of r77029 and r77039: now functions such as Set/GetLayout(), AlphaBlend() and GradientFill() are still called (almost) directly when using MSVC but pass by dynamic loading with the other compilers, which don't have #pragma comment(lib) and, in MinGW case, also lack some of these functions in their libraries even if we do link with them. Closes #16411.

2014-08-12 10:53 JS, revision 77067

Fix deletion of cells in defragment

2014-08-12 10:52 JS, revision 77066

Fix deletion of cells in defragment

2014-08-11 18:27 SC, revision 77065

updated multi-lib project file with naming close to Makefile convention

2014-08-11 18:25 SC, revision 77064

updated AppleScript for multilib builds

2014-08-11 17:52 SC, revision 77063

naming closer to Makefile

2014-08-11 17:51 SC, revision 77062

naming closer to Makefile

2014-08-11 17:50 SC, revision 77061

new separate config file for base

2014-08-11 17:06 SC, revision 77060

multi-lib cocoa project

2014-08-11 17:05 SC, revision 77059

multi-lib template

2014-08-11 17:03 SC, revision 77058

preproc changed for multi-lib

2014-08-11 13:53 VZ, revision 77057

Return correct string from wxEVT_TEXT wxComboBox events. wxCommandEvent::GetString() could return empty string for the programmatically-generated wxEVT_TEXT events from a wxComboBox. Fix this by extending the on-demand string retrieval in wxCommandEvent to wxComboBox as well (it was done only for wxTextCtrl). Also add a unit test checking that the string has the expected value in the events sent by all wxTextEntry-derived controls. Closes #3901.

2014-08-11 13:52 VZ, revision 77056

Return correct string from wxEVT_TEXT wxComboBox events. wxCommandEvent::GetString() could return empty string for the programmatically-generated wxEVT_TEXT events from a wxComboBox. Fix this by extending the on-demand string retrieval in wxCommandEvent to wxComboBox as well (it was done only for wxTextCtrl). Closes #3901.

2014-08-11 12:55 VS, revision 77055

Fix lossy conversion warning in wxString::reverse_iterator::operator-.

2014-08-11 11:30 SC, revision 77054

multi-lib configs

2014-08-11 09:07 SC, revision 77053

one call is enough

2014-08-10 19:15 SC, revision 77052

preparing for multi-lib builds

2014-08-10 18:11 VZ, revision 77051

Correct instructions for building wx applications with MSVC. Use the correct $WXWIN/include/msvc path instead of the non-existing $WXWIN/msvc. Also mention that $WXWIN should actually be $(WXWIN) for MSVC. Closes #16410.

2014-08-10 18:11 VZ, revision 77050

Use NMTVDISPINFO instead of TV_DISPINFO in wxMSW code. The latest w32api 4.0.3, used by MinGW project, still didn't manage to apply a one line fix to define TV_DISPINFO correctly, so tweak our sources to avoid using it. See #15537.

2014-08-10 18:11 VZ, revision 77049

Correct instructions for building wx applications with MSVC. Use the correct $WXWIN/include/msvc path instead of the non-existing $WXWIN/msvc. Also mention that $WXWIN should actually be $(WXWIN) for MSVC. Closes #16410.

2014-08-10 18:11 VZ, revision 77048

Use NMTVDISPINFO instead of TV_DISPINFO in wxMSW code. The latest w32api 4.0.3, used by MinGW project, still didn't manage to apply a one line fix to define TV_DISPINFO correctly, so tweak our sources to avoid using it. See #15537.

2014-08-10 17:43 SC, revision 77047

no filepath subgroups in xcode projects

2014-08-10 16:45 SC, revision 77046

get rid of execute.h

2014-08-10 14:54 SC, revision 77045

get rid of execute.h

2014-08-09 22:23 SC, revision 77044

updated files without glgrab

2014-08-09 22:16 SC, revision 77043

updated files without glgrab

2014-08-09 20:50 SC, revision 77042

updated files without glgrab

2014-08-09 20:39 SC, revision 77041

file not needed anymore

2014-08-09 20:38 SC, revision 77040
  • D /wxWidgets/trunk/include/wx/osx/private/glgrab.h
  • D /wxWidgets/trunk/src/osx/core/glgrab.cpp

remove outdated file

2014-08-09 20:03 VZ, revision 77039

Link wxMSW with msimg32.lib now that AlphaBlend() is used statically. Implicitly link msimg32.lib in when using MSVC and add it to MinGW (and Borland) makefiles. This should have been part of r77029.

2014-08-09 20:03 VZ, revision 77038

Remove manual mirroring in RTL case from wxGrid code. This is not necessary as wxDC already inherits RTL from the window itself and, in fact, breaks the display when using RTL. Closes #16250.

2014-08-09 19:56 VZ, revision 77037

Remove manual mirroring in RTL case from wxGrid code. This is not necessary as wxDC already inherits RTL from the window itself and, in fact, breaks the display when using RTL. Closes #16250.

2014-08-09 19:27 SC, revision 77036

removing code for pre 10.6 systems

2014-08-09 19:20 SC, revision 77035

removing code for pre 10.6 systems

2014-08-09 19:07 SC, revision 77034

removing code for pre 10.6 systems

2014-08-09 19:02 SC, revision 77033

removing code for pre 10.6 systems

2014-08-09 18:18 SC, revision 77032

fixing background style

2014-08-09 18:14 SC, revision 77031

using common implementation avoiding out-of-order redraws

2014-08-09 17:50 VZ, revision 77030

Fix markup on the preprocessor symbols documentation page. Due to an apparent bug in Doxygen 1.8.2 (the version currently used for the online documentation generation), using "@c __FOO__" not only renders __FOO__ in fixed width font, but also makes it bold (due to bad interaction with Markdown support?), so use <tt>__FOO__</tt> instead to work around this. And in one case, escape underscores explicitly (in __VISUALC7__) as they were still interpreted, even inside <tt>.

2014-08-09 16:21 VZ, revision 77029

Remove dynamic loading of GDI functions from wxMSW wxDC code. All of these functions (AlphaBlend(), SetLayout(), SetWorldTransform(), ...) are available in XP which is the minimally required version.

2014-08-09 16:21 VZ, revision 77028

Fix wxDC::DrawRectangle() when using RTL in wxMSW. Extend the correct edge of the rectangle (always the physical right, not the logical right) to fix off by one errors in RTL mode, affecting notably wxGrid. See #16250.

2014-08-09 16:07 VZ, revision 77027

Fix wxDC::DrawRectangle() when using RTL in wxMSW. Extend the correct edge of the rectangle (always the physical right, not the logical right) to fix off by one errors in RTL mode, affecting notably wxGrid. See #16250.

2014-08-08 22:37 PC, revision 77026

fix running on GTK < 2.10 when built with later, broken in r72935

2014-08-08 09:13 AW, revision 77025

Remove temporary fix for drawing check box in the wxPG edit mode with RTL layout Since the issue is fixed (r77020) this hack is no longer necessary (see #16254).

2014-08-08 03:46 VZ, revision 77024

wxOSX compilation fix after the last commit. Add the missing wx/time.h header required for using wxGetLocalTimeMillis(). Also add WXUNUSED() around the unused parameters of DrawGauge(). See #16406.

2014-08-08 03:03 VZ, revision 77023

Add wxRendererNative::DrawGauge() method. Add the method with the native implementations for MSW and OS X and a generic version fallback. Closes #16406.

2014-08-07 23:07 VZ, revision 77022

Fix drawing on wxDC when using right-to-left layout in wxMSW. Avoid integer overflow when setting wxDC scale. This affected (i.e. broke) drawing in RTL but probably not only that. Closes #16254.

2014-08-07 23:06 VZ, revision 77021
  • D /wxWidgets/trunk/build/msw/wx_vc10_wx_setup.props
  • D /wxWidgets/trunk/build/msw/wx_vc11_wx_setup.props
  • D /wxWidgets/trunk/build/msw/wx_vc12_wx_setup.props

Remove the files remaining from project-specific MSVS solutions. These files are not used any more since r77008, there is only wx_setup.props now.

2014-08-07 23:03 VZ, revision 77020

Fix drawing on wxDC when using right-to-left layout in wxMSW. Avoid integer overflow when setting wxDC scale. This affected (i.e. broke) drawing in RTL but probably not only that. Closes #16254.

2014-08-07 23:03 VZ, revision 77019

Add wxGCD() helper function. It is needed in wxMSW code and it looks like it could be useful to the library users, so make it public. See #16254.

2014-08-07 01:31 VZ, revision 77018

Allow requesting core OpenGL profile and explicit OpenGL version. Add WX_GL_CORE_PROFILE and WX_GL_{MAJOR,MINOR}_VERSION attributes which can be used to use modern OpenGL with wxGLCanvas. Closes #16402.

2014-08-07 01:28 AW, revision 77017

Remove unnecessary assertion in wxPGProperty::GetChoiceSelection

2014-08-07 01:01 VZ, revision 77016

Don't document wxFileType::GetIcon() as unimplemented under OS X. It is implemented and supposed to work. See #4562.

2014-08-07 00:59 VZ, revision 77015

Don't document wxFileType::GetIcon() as unimplemented under OS X. It is implemented and supposed to work. See #4562.

2014-08-06 16:57 TIK, revision 77014

Call wxWindow::Navigate when handling the tab key in wxAuiTabCtrl. This fixes tabbing on wxGTK where it was not possible to tab out of the wxAuiNotebook anymore.

2014-08-06 16:53 TIK, revision 77013

Call wxWindow::Navigate when handling the tab key in wxAuiTabCtrl. This fixes tabbing on wxGTK where it was not possible to tab out of the wxAuiNotebook anymore.

2014-08-06 15:34 AW, revision 77012

Fix wxPGProperty::InsertChoice Take into account that wxPGProperty::GetChoiceSelection can return either 0 (for wxEnumProperty) or -1 (for other properties) if choice value list is empty and initialize new selection index properly. See #16401.

2014-08-06 15:26 AW, revision 77011

Fix wxPGProperty::GetChoiceSelection Return the index of the integer choice item on the list instead of item value itself. See #16401.

2014-08-06 00:01 VZ, revision 77010

Add XRC handler for wxSimplebook. Similar to wxNotebook but even simpler as wxSimplebook doesn't use images. Also add wxSimplebook::Create() as the version inherited from wxBookCtrlBase didn't _quite_ work: we need to add wxBK_TOP style to prevent asserts due to unknown alignment in the base class when creating wxSimplebook.

2014-08-06 00:01 VZ, revision 77009

Remove wx/unix/execute.h from the master list of files too. This should have been part of r76683.

2014-08-06 00:01 VZ, revision 77008

Use the same project files for all MSBuild-based MSVS versions. Get rid of version-specific MSVS project files, we can reuse the same projects for all MSBuild-based versions, i.e. 2010, 2011 and 2013.

2014-08-06 00:00 VZ, revision 77007

Add XRC handler for wxSimplebook. Similar to wxNotebook but even simpler as wxSimplebook doesn't use images. Also add wxSimplebook::Create() as the version inherited from wxBookCtrlBase didn't _quite_ work: we need to add wxBK_TOP style to prevent asserts due to unknown alignment in the base class when creating wxSimplebook.

2014-08-06 00:00 VZ, revision 77006

No changes, just order sections in version-script.in correctly. Put them in reverse chronological order, with the older (.0) at the bottom and the newest on the top.

2014-08-04 20:58 VZ, revision 77005

Take into account wxAnimationCtrl "animation" property in wxrc. The files used as the values of this property need to be included in the generated file too.

2014-08-04 20:56 VZ, revision 77004

Take into account wxAnimationCtrl "animation" property in wxrc. The files used as the values of this property need to be included in the generated file too.

2014-08-04 18:35 SC, revision 77003

forwarding printing calls to graphics context as well

2014-08-03 19:56 VZ, revision 77002

Add a more complete example of different controls variants in XRC. Add a dialog showing all the existing variants of a few common controls to allow seeing at a glance how do they look. See #16247.

2014-08-03 19:56 VZ, revision 77001

Show "hint" wxTextCtrl attribute in the xrc sample. Rearrange the contents of the wxTextCtrl page in two columns to make space for the new control. This should have been part of r76629 but was forgotten.

2014-08-03 19:55 VZ, revision 77000

Add a more complete example of different controls variants in XRC. Add a dialog showing all the existing variants of a few common controls to allow seeing at a glance how do they look. See #16247.

2014-08-03 19:55 VZ, revision 76999

Show "hint" wxTextCtrl attribute in the xrc sample. Rearrange the contents of the wxTextCtrl page in two columns to make space for the new control. This should have been part of r76628 but was forgotten.

2014-08-03 19:55 VZ, revision 76998

Really add "hint" property to wxTextCtrl XRC handler schema description. This was supposed to be done in r76628 but the property was mistakenly added to wxRichTextCtrl instead.

2014-08-03 19:10 VS, revision 76997

Add window variant support to XRC. Fixes #16247.

2014-08-03 19:10 VS, revision 76996

Add window variant support to XRC. Fixes #16247.

2014-08-03 17:50 VZ, revision 76995

Fix wxListCtrl sort callback signature in the test under Win64. Use wxIntPtr instead of long which is not big enough to hold a pointer in Win64 builds. Closes #4309.

2014-08-03 17:50 VZ, revision 76994

Fix wxListCtrl sort callback signature in the test under Win64. Use wxIntPtr instead of long which is not big enough to hold a pointer in Win64 builds. Closes #4309.

2014-08-03 17:22 AW, revision 76993

Add missing index initialization in one of wxEnumProperty ctor. In every wxEnumProperty ctor, initial index value of selected choice must be set to zero. See #16401.

2014-08-03 14:47 VZ, revision 76992

Fix window position calculation in wxMSW when using RTL. Just use the native ::MapWindowPoints() to do the coordinate transformation instead of doing it ourselves: we did it wrongly by inheriting the layout direction from wxTheApp instead of from the parent window, so fix this in the best possible way by not doing it at all and just relying on Windows to do it for us. In particular, this corrects the display of wxStatusBar in RTL frames. Closes #15031.

2014-08-03 14:47 VZ, revision 76991

Refresh the window when its layout direction changes in wxMSW. Rearrange the window children and/or redraw its contents when its layout direction changes. See #15031.

2014-08-03 14:47 VZ, revision 76990

Don't activate hidden buttons when Enter is pressed in wxMSW. The keyboard handling code could decide to activate a button which wasn't currently visible at all, e.g. because it was on a non-current, and hence hidden, page of a wxBookCtrl. This didn't make any sense, so check for the button visibility before activating it.

2014-08-03 14:47 VZ, revision 76989

Add wxDateTime::GetWeekBasedYear(). It was just added as a private function to implement %V format specifier support, just extract and document it as it could possibly be useful in its own right. See #11857.

2014-08-03 14:47 VZ, revision 76988

Add support for "%V" and "%G" to wxDateTime::Format(). This is useful for creating ISO 8601 week number based stamps. Closes #11857.

2014-08-03 14:47 VZ, revision 76987

Disable a harmless deprecation MSVC warning for wxNORMAL in a test. Explicitly disable the warning just for the code using wxNORMAL as the use of this deprecated constant can't be avoided in the code which tests for its support.

2014-08-03 14:47 VZ, revision 76986

Fix static initialization order problem in wxStopWatch under MSW. Don't rely on the static global gs_perfCounter being already initialized when wxStopWatch::DoStart() is called, this may not be the case if wxStopWatch variable is global. Work around this by wrapping the variable inside a function to ensure that it is initialized before being used.

2014-08-03 14:47 VZ, revision 76985

Update wxSlider background when its parent background changes in wxMSW. The native control doesn't redraw itself, so force it to do it from the overridden DoMSWControlColor() which is called every time the background colour might have changed. See #12271.

2014-08-03 14:47 VZ, revision 76984

Fix background of wxRadioBox buttons and wxSlider labels in wxMSW. Handle WM_CTLCOLOR correctly for them, this wasn't done before because the code assumed that sub-windows (i.e. HWNDs which belong to the same logical wx control) were always children of the main window, but they could also be its siblings (like in at least the two above mentioned cases). Account for this case in wxControl::DoMSWControlColor() too now. Closes #12271.

2014-08-03 14:47 VZ, revision 76983

Add wxRESERVE_SPACE_EVEN_IF_HIDDEN flag to the XRC schema. It seems that this one was forgotten somehow and so is not recognized.

2014-08-03 14:47 VZ, revision 76982

Really add "hint" property to wxTextCtrl XRC handler schema description. This was supposed to be done in r76629 but the property was mistakenly added to wxRichTextCtrl instead.

2014-08-03 14:44 VZ, revision 76981

Auto-link expat and zlib even in non-GUI programs when using MSVC. These libraries are not GUI-specific and should be included even in console applications.

2014-08-03 14:44 VZ, revision 76980

Fix window position calculation in wxMSW when using RTL. Just use the native ::MapWindowPoints() to do the coordinate transformation instead of doing it ourselves: we did it wrongly by inheriting the layout direction from wxTheApp instead of from the parent window, so fix this in the best possible way by not doing it at all and just relying on Windows to do it for us. In particular, this corrects the display of wxStatusBar in RTL frames. Closes #15031.

2014-08-03 14:44 VZ, revision 76979

Refresh the window when its layout direction changes in wxMSW. Rearrange the window children and/or redraw its contents when its layout direction changes. See #15031.

2014-08-03 14:44 VZ, revision 76978

Don't activate hidden buttons when Enter is pressed in wxMSW. The keyboard handling code could decide to activate a button which wasn't currently visible at all, e.g. because it was on a non-current, and hence hidden, page of a wxBookCtrl. This didn't make any sense, so check for the button visibility before activating it.

2014-08-02 23:19 AW, revision 76977

Fix regression caused by r76974 (inserting first choice item to wxEnumProperty). This is a modified way of handling insertion of the first choice item to wxEnumProperty. Previous method based on special value (wxNOT_FOUND) used to indicate empty collection caused regression in wxPGProperty::DeleteChoice(). Currently, the size of the collection is checked directly in wxPGProperty::InsertChoice().

2014-08-02 14:19 VZ, revision 76976

Correct wxGrid column labels when using SetTable() with native header. Ensure that the table pointer inside wxGrid is updated before initializing the native column header as it uses wxGrid::GetColLabelValue() which doesn't work correctly without a valid table pointer. Closes #16399.

2014-08-02 14:19 VZ, revision 76975

Correct wxGrid column labels when using SetTable() with native header. Ensure that the table pointer inside wxGrid is updated before initializing the native column header as it uses wxGrid::GetColLabelValue() which doesn't work correctly without a valid table pointer. Closes #16399.

2014-08-02 00:12 AW, revision 76974

Fix inserting first choice item to wxEnumProperty Situation when when first choice item is inserted (in wxPGProperty::InsertChoice) to the empty collection must be handled in a special way. In order to do so: 1. The state when there are no choice items in wxEnumProperty object and hence no item is selected must be explicitly indicated (by special index value wxNOT_FOUND). 2. This initial state must be handled in a special way when there is determined new selection index after insertion. See #16401.

2014-08-01 20:04 VS, revision 76973

Only filter requested events in wxEventBlocker. Contrary to the documentation, wxEventBlocker always behaved as if the event type to block was wxEVT_ANY: while it returned false for events not on the blacklist, it never actually called the existing event handler as it was meant to. Fix by calling wxEvtHandler::ProcessEvent() in this case.

2014-08-01 20:03 VS, revision 76972

Only filter requested events in wxEventBlocker. Contrary to the documentation, wxEventBlocker always behaved as if the event type to block was wxEVT_ANY: while it returned false for events not on the blacklist, it never actually called the existing event handler as it was meant to. Fix by calling wxEvtHandler::ProcessEvent() in this case.

2014-08-01 17:39 AW, revision 76971

Fix wxPGProperty::SetChoiceSelection When selected choice is changed then set as selected value the value corresponding to the new index, not the index itself. Closes #16401.

2014-08-01 17:19 AW, revision 76970

Additional assertions in several wxPGProperty methods. Check if property is attached to the property grid before wxPG methods are invoked. See #16401.

2014-08-01 17:09 AW, revision 76969

Check if PG exists before adding or deleting a choice to wxPGProperty. Because choice value can be added/deleted also to/from detached property object there is necessary to skip in wxPGProperty::InsertChoice and wxPGProperty::DeleteChoice the operations which are valid exclusively for property attached to the property grid.

2014-07-28 01:04 VZ, revision 76959

Fix static initialization order problem in wxStopWatch under MSW. Don't rely on the static global gs_perfCounter being already initialized when wxStopWatch::DoStart() is called, this may not be the case if wxStopWatch variable is global. Work around this by wrapping the variable inside a function to ensure that it is initialized before being used.

2014-07-28 01:04 VZ, revision 76958

Add support for "%V" and "%G" to wxDateTime::Format(). This is useful for creating ISO 8601 week number based stamps. Closes #11857.

2014-07-27 02:36 VZ, revision 76957

No real changes, just a micro optimization in wxOSX DoGetAsBitmap(). Don't call wxWindow::GetSize() unnecessarily when we use the given fixed rectangle anyhow.

2014-07-26 12:50 VZ, revision 76956

No changes, just update the file name in the header. Update the name in the header to match the actual file name. See #12904.

2014-07-26 12:50 VZ, revision 76955

No changes, just update the file name in the header. Update the name in the header to match the actual file name. See #12904.

2014-07-26 03:41 VZ, revision 76954

Implement bounding box computations for wxGDDC. Update the bounding box in all the methods drawing something. This wasn't done before in many of them, resulting in the bounding box remaining empty, but it is updated now and a new test checking that it is was added. Closes #12904.

2014-07-26 03:34 VZ, revision 76953

Implement bounding box computations for wxGDDC. Update the bounding box in all the methods drawing something. This wasn't done before in many of them, resulting in the bounding box remaining empty, but it is updated now and a new test checking that it is was added. Closes #12904.

2014-07-25 19:34 VZ, revision 76952

Write delay between frames correctly when saving GIF files. Deal with delays greater than ~2.5s correctly, their most significant byte was previously lost resulting in 0 delay being written to the file. Closes #16392.

2014-07-25 19:34 VZ, revision 76951

Write delay between frames correctly when saving GIF files. Deal with delays greater than ~2.5s correctly, their most significant byte was previously lost resulting in 0 delay being written to the file. Closes #16392.

2014-07-25 19:34 VZ, revision 76950

Fix background of wxRadioBox buttons and wxSlider labels in wxMSW. Handle WM_CTLCOLOR correctly for them, this wasn't done before because the code assumed that sub-windows (i.e. HWNDs which belong to the same logical wx control) were always children of the main window, but they could also be its siblings (like in at least the two above mentioned cases). Account for this case in wxControl::DoMSWControlColor() too now. Closes #12271.

2014-07-25 15:45 SC, revision 76949

fixing Life demo for OSX

2014-07-24 13:34 VZ, revision 76948

Add --disable-sys-libs configure option. This allows to disable the use of all system libraries with a single option instead of having to use --with-{lib{png,jpeg,tiff},regex,zlib,expat}=builtin or similar. This is especially useful under OS X where we want to avoid the dependencies on any locally installed homebrew or similar libraries.

2014-07-24 12:58 VZ, revision 76947

Include the required headers from wx/custombgwin.h. Make this header self-contained, i.e. safe to include as the first wxWidgets header being included from the user code. Closes #16391.

2014-07-23 10:16 JS, revision 76946

Capitalize style names if specified in the style

2014-07-21 15:45 TIK, revision 76945

Fix compilation if configured with --disable-coldlg

2014-07-21 15:44 TIK, revision 76944

Fix compilation if configured with --disable-coldlg

2014-07-20 17:28 SC, revision 76943

supporting menu dimension retrieval for menubars, fixes #2570

2014-07-17 00:55 VZ, revision 76942

Don't consider hidden root item to be visible in wxGenericTreeCtrl. This fixes wrong results returned by GetFirstVisibleItem() in the tree control with wxTR_HIDE_ROOT style. Closes #4482.

2014-07-17 00:55 VZ, revision 76941

Fix test for __WXOSX__ in common code. Check whether it's defined, not whether it's true.

2014-07-17 00:54 VZ, revision 76940

Don't consider hidden root item to be visible in wxGenericTreeCtrl. This fixes wrong results returned by GetFirstVisibleItem() in the tree control with wxTR_HIDE_ROOT style. Closes #4482.

2014-07-16 22:10 AW, revision 76939

Use the same macro to implement all wxPG property classes. Currently, WX_PG_IMPLEMENT_PROPERTY_CLASS macro is used to implement most of the property classes (and also property classes in the propgrid sample) but few property classes are implemented in alternative way, using separate IMPLEMENT_DYNAMIC_CLASS and WX_PG_IMPLEMENT_PROPERTY_CLASS_PLAIN macros. These two macros can be replaced with WX_PG_IMPLEMENT_PROPERTY_CLASS macro (which is a concatenation of both) so property class implementation can be unified.

2014-07-15 21:56 SC, revision 76938

mediactrl for ios

2014-07-15 21:52 SC, revision 76937

mediactrl for ios

2014-07-15 21:28 SC, revision 76936

fixing and expanding switches

2014-07-15 19:15 VZ, revision 76935

Update the checksum of the reuploaded wxMSW-3.0.1_vc120_Dev.7z file. The original version was somehow corrupted.

2014-07-15 19:14 SC, revision 76934

common type for native rectangle

2014-07-15 19:12 SC, revision 76933

updating header info, adding AVKit support, iOS support

2014-07-15 18:30 AW, revision 76932

Fix for drawing check box in the wxPG edit mode when RTL layout direction is set under wxMSW. Check box isn't drawn correctly in the edit mode under wxMSW due to the problems with RTL handling in wxAutoBufferedPaintDC and wxPaintDC (see #16254). We need to only draw the image, no text, so we can work around the problem by overriding layout direction to LTR.

2014-07-15 18:02 AW, revision 76931

When drawing wxPG items (with double buffering) use the same layout direction as the window uses. Memory DC used for double buffering purposes should inherit layout direction from the window DC to ensure that texts are rendered correctly. Closes #15797.

2014-07-15 15:27 VZ, revision 76930

Remove unnecessary ConvertWXArrayToC() helper choice dialog code. Just use the appropriate wxSingleChoiceDialog ctor directly. Also some renamings/reformattings, but no other real changes. Closes #16383.

2014-07-15 15:26 VZ, revision 76929

Compilation fix for wxMSW build with most features disabled. Include wx/msw/ownerdrawnbutton.h outside of WX_PRECOMP check to ensure it's always included. Closes #16380.

2014-07-14 21:17 VZ, revision 76928

Replace anonymous namespace with a named one in the test helpers. This should avoid clang warnings about the function in anonymous namespace being unused.