Increment int with Unity 4.6 GUI button system

I want to increment a public int “Next Num” with the OnClick component of a GUI button. I have attached the following script to a gameobject and inserted that gameobject into the OnClick box in the button’s inspector with no function selected. As of yet nothing happens when I click the button.

Ultimately I want to use “Next Num” to enable/disable a series of GUI text objects and animations but believe I know how to do that part. Other suggestions welcome.

using UnityEngine;
using System.Collections;

public class PanelButInc : MonoBehaviour {
public int nextNum;
public void PanelButtonInc() {

		nextNum += 1;
		Debug.Log (nextNum);

you already asked the question here