Skip to content

Commit c4e9a63

Browse files
Got rid of a few warnings.
1 parent 50f7f06 commit c4e9a63

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ Current:
22
* The ESC sequences for inputting symbols now use autocompletion.
33
* Use wxAutoBufferedPaintDC for drawing the worksheet instead of
44
implementing our own version of it.
5-
* The usual bug fixes
5+
* The usual bug fixes, this time including one bug fix that makes
6+
wxMaxima work again on Gentoo and some help path lookup fixes.
67

78
19.01.0:
89
* Many bugfixes for the display code

src/IntCell.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ void IntCell::RecalculateWidths(int fontsize)
224224
void IntCell::RecalculateHeight(int fontsize)
225225
{
226226
Cell::RecalculateHeight(fontsize);
227-
Configuration *configuration = (*m_configuration);
228227

229228
m_under->RecalculateHeightList(MAX(MC_MIN_SIZE, fontsize - 5));
230229
m_over->RecalculateHeightList(MAX(MC_MIN_SIZE, fontsize - 5));

src/StatusBar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void StatusBar::UpdateBitmaps()
6262
#if wxCHECK_VERSION(3, 1, 1)
6363
wxDisplay display;
6464

65-
unsigned display_idx = wxDisplay::GetFromWindow(GetParent());
65+
int display_idx = wxDisplay::GetFromWindow(GetParent());
6666
if (display_idx == wxNOT_FOUND)
6767
display_idx = 0;
6868
ppi = wxDisplay(display_idx).GetPPI();

src/ToolBar.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ wxBitmap ToolBar::GetImage(wxString name,
4949
#if wxCHECK_VERSION(3, 1, 1)
5050
wxDisplay display;
5151

52-
unsigned display_idx = wxDisplay::GetFromWindow(GetParent());
52+
int display_idx = wxDisplay::GetFromWindow(GetParent());
5353
if(display_idx == wxNOT_FOUND)
5454
display_idx = 0;
5555
m_ppi = wxDisplay(display_idx).GetPPI();
@@ -326,7 +326,7 @@ ToolBar::ToolBar(wxWindow *parent) : wxAuiToolBar(parent,-1, wxDefaultPosition,
326326
#if wxCHECK_VERSION(3, 1, 1)
327327
wxDisplay display;
328328

329-
unsigned display_idx = wxDisplay::GetFromWindow(parent);
329+
int display_idx = wxDisplay::GetFromWindow(parent);
330330
if(display_idx == wxNOT_FOUND)
331331
display_idx = 0;
332332
m_ppi = wxDisplay(display_idx).GetPPI();
@@ -373,7 +373,7 @@ void ToolBar::UpdateBitmaps()
373373
#if wxCHECK_VERSION(3, 1, 1)
374374
wxDisplay display;
375375

376-
unsigned display_idx = wxDisplay::GetFromWindow(GetParent());
376+
int display_idx = wxDisplay::GetFromWindow(GetParent());
377377
if (display_idx == wxNOT_FOUND)
378378
display_idx = 0;
379379
ppi = wxDisplay(display_idx).GetPPI();

0 commit comments

Comments
 (0)