Fixed a notebook crash and added more tests to sample.
Corrected size behaviour of default button. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1982,7 +1982,7 @@ void wxWindow::DoSetSize( int x, int y, int width, int height, int sizeFlags )
|
||||
|
||||
int border = 0;
|
||||
|
||||
if (GTK_WIDGET_HAS_DEFAULT(m_widget))
|
||||
if (GTK_WIDGET_CAN_DEFAULT(m_widget))
|
||||
{
|
||||
/* the default button has a border around it */
|
||||
border = 5;
|
||||
|
Reference in New Issue
Block a user