Update of /cvsroot/htoolkit/port/src/cbits/Win32
In directory sc8-pr-cvs1:/tmp/cvs-serv25326/src/cbits/Win32
Modified Files:
ToolBar.c
Log Message:
Add some functions with empty body
Index: ToolBar.c
===================================================================
RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/ToolBar.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ToolBar.c 8 Jul 2003 21:18:06 -0000 1.2
--- ToolBar.c 8 Jul 2003 21:36:39 -0000 1.3
***************
*** 39,42 ****
--- 39,46 ----
}
+ void osDestroyToolBar(WindowHandle toolbar)
+ {
+ }
+
ToolHandle osInsertToolButton(WindowHandle toolBar, int pos)
{
***************
*** 200,203 ****
--- 204,216 ----
}
+ void osSetToolButtonText(ToolHandle toolButton, char *text)
+ {
+ }
+
+ char *osGetToolButtonText(ToolHandle toolButton)
+ {
+ return NULL;
+ }
+
void osSetToolButtonChecked(ToolHandle toolButton, BOOL bState)
{
***************
*** 209,214 ****
}
! int osGetToolItemPos(ToolHandle toolButton)
{
- return SendMessage(toolButton->hToolBar, TB_COMMANDTOINDEX, toolButton->nCommand, 0);
}
--- 222,231 ----
}
! int osGetToolItemPos(ToolHandle toolItem)
! {
! return SendMessage(toolItem->hToolBar, TB_COMMANDTOINDEX, toolItem->nCommand, 0);
! }
!
! void osDestroyToolItem(ToolHandle toolItem)
{
}
|