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:
Julian Smart
2001-06-09 17:43:16 +00:00
parent 40a8907605
commit bc00e7155e
12 changed files with 86 additions and 26 deletions

View File

@@ -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);