Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably
means that the 'version' fix for BC++ doesn't work (misapplied?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,7 +115,7 @@ wxSize wxGridCellDateTimeRenderer::GetBestSize(wxGrid& grid,
|
||||
}
|
||||
|
||||
void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){
|
||||
if(params)
|
||||
if (!params.IsEmpty())
|
||||
m_oformat=params;
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ void wxGridCellDateTimeRenderer::SetParameters(const wxString& params){
|
||||
|
||||
wxGridCellEnumRenderer::wxGridCellEnumRenderer(const wxString& choices)
|
||||
{
|
||||
if(choices)
|
||||
if (!choices.IsEmpty())
|
||||
SetParameters(choices);
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ void wxGridCellEnumRenderer::SetParameters(const wxString& params)
|
||||
wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices)
|
||||
: wxGridCellChoiceEditor()
|
||||
{
|
||||
if(choices)
|
||||
if (!choices.IsEmpty())
|
||||
SetParameters(choices);
|
||||
}
|
||||
|
||||
@@ -363,7 +363,7 @@ wxGridCellAutoWrapStringRenderer::GetBestSize(wxGrid& grid,
|
||||
wxDC& dc,
|
||||
int row, int col)
|
||||
{
|
||||
int x,y, height , width = grid.GetColSize(col) -10;
|
||||
wxCoord x,y, height , width = grid.GetColSize(col) -10;
|
||||
int count = 250; //Limit iterations..
|
||||
|
||||
wxRect rect(0,0,width,10);
|
||||
|
Reference in New Issue
Block a user