Page 1 of 1

ToolBarStandardButton() default icons?

Posted: Tue Aug 29, 2006 2:51 am
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