wxEuphoria Calendar Control: Getting Count of Days in Month

new topic     » topic index » view thread      » older message » newer message

I created the following, but it doesn't work! Helllp!

--/topic wxCalendarCtrl
--/func get_daysinmonth( atom cal )
--
--Returns the number of days in the currently selected month.
global function get_daysinmonth( atom cal )
	return cpp:call_member( wxDateTime_GetNumberOfDays_1, cal, {})
end function


I tried also the wxDateTime_GetNumberOfDays, but apparently I don't know
how to form the parameters, but I'm sure that's the one I want to call. :/

-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu