ToolBarStandardButton() default icons?

Mac OSX specific forum
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

ToolBarStandardButton() default icons?

Post by garretthylltun »

The docs say that the following should show standard icons from the OS.

Code: Select all

If CreateToolBar(0, WindowID())
  ToolBarStandardButton(0, #PB_ToolBarIcon_New)
  ToolBarStandardButton(1, #PB_ToolBarIcon_Open)
  ToolBarStandardButton(2, #PB_ToolBarIcon_Save)
EndIf
I get no icons at all, but the docs say that it works for Win, Lin and Mac.

It's not a major issue as I can just load some images for these, but just
wanted to know if I was doing something wrong, or if there's an issue
with PureBasic on OS X and the icons.

Thanks,
-Garrett
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
· Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
· http://www.freewarehome.com/ <-- Freeware listings since 1996