Coder Social home page Coder Social logo

Comments (8)

rgleason avatar rgleason commented on July 24, 2024

From polar_pi , same issue
ptulp/polar_pi#11

Maybe I should have been more specific:
In file PolarGui.cpp line 290, change 'wxEVT_GRID_CELL_CHANGE' to "
'wxEVT_GRID_CELL_CHANGED'
In file PolarGui.cpp line 312, change 'wxEVT_GRID_CELL_CHANGE' to "
'wxEVT_GRID_CELL_CHANGED'

In file Polar.cpp line 1159 change 'GetCols' to GetNumberCols'
In file Polar.cpp line 1159 change 'GetRows' to GetNumberRows'
In file Polar.cpp line 1159 change 'GetCols' to GetNumberCols'

Do NOT change file PolarDialog.cpp line 194, so leave that be
m_gridEdit->SetCellValue(event.GetRow(),event.GetCol(), s);

from findit_pi.

rgleason avatar rgleason commented on July 24, 2024

Change
gui.cpp Line 315, 323, 329,334, 350, 358, 364, 369 to wxEVT_GRID_CELL_CHANGED
findit.cpp Line 223 249 276 from 'SetRowHeight' to ? (maybe keep it?)

https://docs.wxwidgets.org/trunk/classwx_grid_event.html
https://docs.wxwidgets.org/trunk/search.php?query=SetRowHeight

from findit_pi.

ptulp avatar ptulp commented on July 24, 2024

Change line 221, 226, 247, 252, 271 from GetRowHeight to GetRowSize
Change line 223, 249, 276 from SetRowHeight to SetRowSize

Peter

from findit_pi.

rgleason avatar rgleason commented on July 24, 2024

Getting there

https://ci.appveyor.com/project/rgleason/findit-pi/builds/22907143

uild FAILED.
"C:\project\findit_pi\build\package.vcxproj" (default target) (1) ->
"C:\project\findit_pi\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\project\findit_pi\build\findit_pi.vcxproj" (default target) (4) ->
(ClCompile target) -> 
  C:\project\findit_pi\src\gui.cpp(315): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(323): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(329): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(334): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(350): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(358): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(364): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
  C:\project\findit_pi\src\gui.cpp(369): error C2065: 'wxEVT_GRID_CELL_CHANGE' : undeclared identifier [C:\project\findit_pi\build\findit_pi.vcxproj]
    0 Warning(s)
    8 Error(s)

Change these to wxEVT_GRID_CELL_CHANGED?

from findit_pi.

ptulp avatar ptulp commented on July 24, 2024

Yes, that should do it.

from findit_pi.

ptulp avatar ptulp commented on July 24, 2024

I will be out for a few hours for dinner.

Regards,
Peter

from findit_pi.

rgleason avatar rgleason commented on July 24, 2024

Ta da! That one worked.
https://ci.appveyor.com/project/rgleason/findit-pi

Here's the file I'm after for Windows!
https://ci.appveyor.com/project/rgleason/findit-pi/build/artifacts
Just have to add ov50 into it and test it out. (making this automatic is the next step...but later)
Pavel and sean have some examples.

from findit_pi.

rgleason avatar rgleason commented on July 24, 2024

Ps If you want to make a new branch called ov50, I can then create a PR pointed to your "ov50" branch .
Ps I also have an ov42 directory which has the build for Opencpn 4.2 - 4.8.8 in it. If you make that branch too, I will make a PR for that branch too.

from findit_pi.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.